Adds docstring to api1

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Downgraded restful to 0.1.7

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Used patched version of flask-restful
Implements proper error handling and content negotiation.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>