Fixes Issue 125 - Hanlon client config contains unnecessary parameters

After separating Hanlon into cli and web components, we created hanlon_client.conf to manage client side configuration parameters. Most of the parameter belonging server side logic are removed from client config except for image_path and persist_xxxx set. Client code models were using parameter due to entangled code where client is implementing the code logic or server and client code blocks are placed in single file. To remove these parameters we needed another code refactor which is addressed in this pull request.

This pull request completely removes the above said parameters by...
*. Removing db interfaces where not required and isolating the dbinit to server line of code execution
*. Removing cli/hanlon config db_check command which is not required at client end
*. Moving local image path building logic from client end to server
*. Extending hanlon image rest api end point by adding local_image_path parameter

I'm not sure why you're making changes like this one, @sankarvema; the code that you commented out earlier (in the `web/api/api_utils.rb` file) limits the returned hash map to only contain URIs to any objects contained within this one, and this line of code expands the response so that it contains the data from those URIs. So this should also be changed back to the original code.