Added integration test for overriding type parsers on a per-client basis.
Implemented per-client type parser overrides.

Adds Client#getTypeParser() and Client#setTypeParser().
Corrected property access on possibly undefined variable.
Moved type override code into a new class.
Merge pull request #679 from whitelynx/master

Added per-client type parser overrides.