BlueMix deployment

1. MongoDB connection strategy changed.
2. Models, controllers, tests and predefined loader fixed due to the new strategy.
3. Small UI optimizations and fixes.