updated json-forms
towards #10; hide settings tab on embed-mode 2.

moved loading div outside of main content area.
fixed bug to use "Log" on compose tab when embed-mode 2.
towards #10; load user profile and check permissions/roles.

Created loadUserProfile() which combines the data form _session, user
doc and facility doc into one object.

User must have one of the follow roles: '_admin', 'data_entry',
'national_admin', 'district_admin' otherwise you will see a "Please log
in with an authorized account." message.