Sounds like he can't handle the idea of being with you. I don't know of any other way to put it really...
Some guys, they know they want a girl, they'll make a big deal out of it and then either succeed or fail, mostly fail but when they do succeed, it's like a whole new dimention opens up where suddenly this fantasy becomes a reality, and they just can't deal with it. They'll try to stay rooted in their own mindframe, but the idea of this new relationship, or maybe the idea of losing it, just overwhelms them and they start to freak out.
I think deep down he doesn't feel like he deserves you or just that he's not used to dating someone like you, so he just feels like he's on borrowed time, and with that idea comes a lot of self sabotagebecause he's going to step outside himself in order to please you... which essentially comes down to weird, quirky, unpredictable behaviors.
So what can you do? Not much i think... just stay true to yourself. Act as you feel like acting... if you don't feel like giving him space, then don't, if you do feel that way, then do, etc. All in all, i wouldn't take the curveballs he throws very seriously because they are most likely just tantrums.
All in all there isn't much you can do. Either he'll start to relax soon, or he won't and he'll most likely sabotage the relationship and push/scare you away.
This is all just my opinion of course, and i could be wrong, but from what you said I see a lot of this kind of behavior in guys who aren't firmly rooted in their own lives/identity.