Auto merge of #90 - ligthyear:fix-admin-queries, r=ligthyear
Auto merge of #90 - ligthyear:fix-admin-queries, r=ligthyear

Fix Admin access problem

Some of our models don't have `__mapper_args__` (specifically the
User model) which our query builder assumes to be there. Resulting
in an ugly 500/traceback when trying to access.

This change fixes this by a more error-resistant lookup procedure.

beavyHQ/beavy,beavyHQ/beavy,beavyHQ/beavy,beavyHQ/beavy