Using rapidjson to load tileset file working (still need to add more info to tsd file).

- Hacked in getting line/column of error since rapidjson doesn't support that.
- Created common/char for helper functions relating to the char type.
  - Moved is_newline lambda to common/char.