Merge branch 'dev' into createAppGroup and resolved conflicts.  This merge picks up 'create app account' functionality as well.

Modified minor implementation details, added JavaDoc, and added integration tests.