api: Add API Documentration
The docs are written in markdown and converted to HTML using http://dillinger.io/