changes required for 2.2 compatibility
Merge pull request #140 from neo4jrb/neo4j-2.2

changes required for 2.2 compatibility