Fixed bug in _get_entity_or_404 where if id arg wasn't an int, query.get would barf (this would happen if we passed in a slug to look up the entity).
Fixed bug in _get_entity_or_404 where if id arg wasn't an int,
query.get would barf (this would happen if we passed in a slug to
look up the entity).

wylee/restler