fixes route names, changes API Document updates via forms

route names for Document entity didn't have correct names, now they are properly named starting with legislator_document

Document edit form was submitted to the same endpoint as the form itself, now a more REST-like approach has been used (/document/:id)
fixes ORM mapping in the User entity

inversedBy property was missing
fixes #26
fixes #24
fixes date formating when the date is null