#JC-1869 Added tests and javadocs for QaA plugin

Added more tests for plugin and its permissions.
Added missing javadocs.
Added exception for configuration failings.