Reverted jcr_root metadata.
Added license headers, refactored services to separate files.
New query requests now cancel any previous long-running request, misc code formatting.
Auto-query can now be disabled, added manual query button.