Adds API documentation and examples ready for pythonhosted.org

Adds complete sphinx-based API documentation for pythonhosted.org.