Reverts to Identifier and not String for PIDs
Documents all runtime exceptions in the API interfaces.
Removes the requirement for a Session for ping and capabilities calls.
Removes unused class.
Fixing up Java docs, adding missing annotations and cleaning some
methods
Adds tests for verification of exception construction and some cleanup.
Fixes some TODO comments, and adds class missing in last commit