Prohibit equality comparison of incomparable values

o This ensures that nodes can only be equality compared against nodes, and relationships only against relationships
   (particularly prohibits comparing entities against map parameters)
Merge pull request #1559 from boggle/2.0-incomparable-values

Prohibit equality comparison of incomparable values