[ADD] Core, Locking: Annotations for Java modules. Closes #734
[MOD] XQuery Java Module: "context" renamed to "queryContext"