Add api.md to run with literate-jasmine, update server to handle 404