Display client-side error messages in Browser.
Merge pull request #1641 from apcj/2.0-browser-client-side-errors

Display client-side error messages in Browser.
Added improved debugging for incorrect message handling.
Merge pull request #1676 from jakewins/ha-classscast-debug

Added improved debugging for incorrect message handling.
Remove CypherType.isCollection
Use internal rather than scala-based heirarchy for types
Correct behaviour of merging type sets
Rename iteratedType on AnyType to legacyIteratedType

And use innerType on CollectionType
Stop TypeSet inheriting from Set[CypherType]

This allows for a more specific interface without the need to implement
all the methods of Set manipulation
No coerced mergeup
Add indefinite sized type sets
Use indefinite type sets in semantic checking

Resolves multiple type related issues, steming from the incorrect
usage of mergeUp for type constraining, and the use of AnyType() to
represent all types.
Remove DiscreteTypeSet
Fix type calculations of +