Updates and a lot of work on the JMS, REST and Remote Java API documentation, including: (cherry picked from commit 8ae93398306021f70d2d36930e78cee8362896f8)

REST documentation

- Note about user for tasks
- History operations update
- Moved sections around for clarity

Remote Java API documentation

JMS documentation

rebase fixing messed up merge?
Adding a section about authorization/permissions to the TaskService documentation
(cherry picked from commit 992607ccbb35f5d1f312dcce78c8b42f41a8ba5e)