add license file to the project (MIT)

Per email discussion with Andrew Jackson, this project is being developed under the terms of the MIT license.
add endpoint to list all valid endpoints

The /api endpoint now returns a json list of all the endpoints on the
server.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>