Update to use flask 0.10

* flask 0.10 separated json related functionality into flask.json
* _lookup_object is now deprecated
* fixes #68
Merge pull request #69 from sharoonthomas/feature/issue-68

Update to use flask 0.10
Implement lazy rendering #67
Merge pull request #70 from sharoonthomas/feature/issue-67

Implement lazy rendering #67
 Flake8ify #1730

* Fixed indentation and unused code for all the files in module to
  improve readability of code.

Issue ID: 179001
Update permission_required decorator to handle new has_permissions #2048

Update permission_required decorator to handle all and any permission
for a nereid user.

Review ID: 279002
Merge pull request #80 from simmianand/feature/task-1730

 Flake8ify #1730
Merge pull request #82 from tarunbhardwaj/feature/task-2048

Update permission_required decorator to handle new has_permissions #2048
Merge trytond_nereid into nereid

Based on issue #30 the package was separated into the python module
nereid and the tryton module trytond_nereid. In retrospective this was a
bad idea and the mainteinance of the module became a nightmare with
most changes requiring two commits on separate repositories.

This patch merges the trytond_nereid package back into nereid.