Tastypie compatibility

This patch makes neo4django compatible with the tastypie API framework by adding some needed helper functions