[#44] Refactor the JSON Parsing

* Refactor the JSON parsing in Redmine.Types, abstracting array parsing
  into the parseListInObject and wrapObjectParseList functions.

Closes #44: Refactor the JSON Parsing Code