Tastypie compatibility

This patch makes neo4django compatible with the tastypie API framework by adding the `get_internal_type` function and some variables to the model and relationship base classes.