Removed ambiguity in example query 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.
Fixes an issue of unexpected message payload in a timeout message

Also added some more sanity checks.
Merge pull request #1678 from tinwelint/2.0-instanceid-payload-fix

[Post 2.0, hold off merging] Fixes an issue of unexpected message payload in a timeout message
Merge pull request #1675 from jakewins/empty_labels

Removed ambiguity in example query in browser.
Wrapped assertions in transactions and fixed faulty replacement of refnode
Filtering relationships by literal property in pattern predicates

(based on systay's 3db3d279b1f1aeb896d68f7b05c6b9becea58005)