refactored DocumentManager CRUD functions to match basic JPA CRUD functions (persist, merge, remove, delete)