Add editorconfig for consistent coding style

More info at http://editorconfig.org/

* The list of projects already using it to standardize their coding
styles[1].

* Inspired by editorconfig of django-model-utils[2].

[1]: http://git.io/pz1vWA
[2]: http://git.io/QIAWvw

Signed-off-by: Saurabh Kumar <thes.kumar@gmail.com>
Add .editorconfig to project template.

Signed-off-by: Saurabh Kumar <thes.kumar@gmail.com>
feature(api): Added Django Rest Framework

Adds rest framework with browsable  api available at /api.
More info: http://django-rest-framework.org/#installation