Add API_KHS endpoint.

Fix multiplying before double cast.

Add endpoint to response.

Fix API response function.

Fix var name.

Add KHS to API summary.
Merge pull request #59 from perryh/add_api_khs

Add API_KHS endpoint.