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 confused by this line (and the line that follows); it appears to be setting the field to itself (and the same comment applies to lines 113, 174, 175, 272, 273, 355, and 356)