Support for 'none' in orchestration model.
If orchestration model is set to 'none', then authenticatation is bypassed to
login to UI, but the userid/passwd set in default.config.global.js needed to
login, default role is admin for this user.

When set 'none', then the project list comes from API Server irrespective of
config.getDomainProjectsFromApiServer value.

The pages which needs to be interacted with openstack modules, gets loaded, but
config can not be done.

Change-Id: Ib1fed887b716fbf3418aaf5801a6ea7420c097ca
Moving some function to common file

Change-Id: I8ada4e9296b2b61f13642e2da8b113453bfb5423
Merge pull request #25 from Juniper/master

Pull changes from Juniper/web-core to absingla/web-core