Send apidoc hashes in headers

This patch makes the server to compute MD5 of API docs during start and register middleware which is responsibe for sending this hash in headers of each response. This way the API client (CLI) can find out if the API has changed.