Refactoring/cleanup

  1. Refactored: toString, getChild, hasChild
  1. Replaced if/elses with switch/cases in Field.prototype.decode and Field.prototype.encodeValue in Reflect.js
  1. swap if/else into switch/case in Parser.prototype.parse in Parse.js