Merge pull request #131 from sharoonthomas/develop

Replace host matching and code cleanup
Extract translations from nereid templates
import nereid translations of python code into tryton server
Allow updating of nereid translations
Refactor the translations and add tests #122
Use more appropriate variable name
Make nereid use translations from Tryton #122

* Makes nereid code and templates use tryton translations
Merge pull request #133 from sharoonthomas/translation

Implements translations within Tryton
Modify @login_required to handle xhr

@login_required will return 401 with json for xhr request for guest
user. As design followed by github.
Refer: http://developer.github.com/v3/#failed-login-limit

Detailed response is as following:

Status: 401 UNAUTHORIZED
Body:
{
    "error":true,
    "reason":"This request can only be completed after login"
}
Merge pull request #134 from tarunbhardwaj/fix_login_required

Modify @login_required to handle xhr
Nereid configuration wizard should come in last #3789
Merge pull request #138 from prakashpp/feature/task-3789

Nereid configuration wizard should come in last #3789
Replacing add method with classmethod in contact.mechanism #3725

Review ID - 2323002
Merge pull request #142 from param107/feature/task-3725

Replacing add method with classmethod in contact.mechanism #3725
Update minimum requirement of flask fixes #141