Added optional Javascript callbacks on all API endpoints
Needs improvement:
 * Configurable in the config file
 * /endpoint?callback=example redirects to /endpoint/, dropping all get args
    IMO should have /endpoint work and be encouraged, tailing slash is silly
 * Whole thing needs to be rewritten in python
Merge pull request #4 from lukevers/master

Show failure in header if cjdns dies.
Merge pull request #6 from thefinn93/master

Add optional Javascript callbacks on all API endpoints
Added configuration option for JS callbacks
Merge pull request #8 from thefinn93/master

Add configuration option for JS callbacks
Use status codes to differentiate errors, retry cjdns connection at start