Added config specification for API calls and API help

1. api/config.py specifies routes and api call configs
2. generalized support for non-GET calls
3. 'help' param in any API call gives you list of valid GET params
4. programmatically generate up-to-date API RPC interface