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

One more comment on this change (from line_number to `@serial_number` and from current_count to `@bind_counter`); while these sorts of changes might seem like a good idea, keep in mind that these objects are serialized into the Hanlon database as JSON hash maps, so changes in the names of instance variables may very well be 'breaking changes' for objects that are currently in the database. Personally, @sankarvema, I'd prefer to leave the names of these variables/fields alone, since they have nothing to do with the change you are trying to make in this PR.