This baby needs to see a vet asap, and I hope you did bring him in.
This could be an ear issue too w/ the flicking of the head and vomiting. If it's an ear infection and is causing this much of a problem - you need to get him treated ASAP before the ear canal is destroyed.
PLEASE update us.