Ensure that the API works with old config
Ensure that the API works with old config

This commit ensures that the application will still work with the old config.
I have added changes to ensure that the server starts as an  server
running on port  when the old config is supplied.

Related Tickets:
 - OHIE-287

jembi/openhim-core-js,jembi/openhim-core-js