WIP for the documents REST API

Warning: you need to drop and recreate your database.

Refactored the model classes to inherit from a Document model.
Made read-only in the admin the fields that are not editable.

Implemented GET document.
Work in progress for DELETE (not using the revision so far).