Fixed some stuff in hack branch

Fixed some fatal issues in hack lang.
@simonwelssh, I request you try the xhp in sublime text 3 (or with hh_client directly) if you have some time. It will give you a better idea of what I was trying to solve.