Merged support for parsing boolean, number, date and null + some cleanup

Merged pull request #14, did whitespace clean-up, made unit tests compile and run fine on Xcode 5.