Enable read-only model attributes and PATCH requests

Finalizing #82.

Thanks @celc for putting this together.