nunaliit-js: Add work around for CouchDb bug with obtaining documents
from user database.

nunaliit-couch-application: Fixes to user management application

Issue #178
nunaliit2-couch-application: Rewrite user management application to be
self contained within a class. Fix issues with reporting. Login user on
anonymous new user creation.

Issue #178