Merge branch 'release/3.0.4.0' into develop
Bump version to 3.0.5.0dev
Replace i18n folder and use tryton translation
Implement flash within nereid

Nereid often flashes message using lazystrings. The flash implementation
here converts lazy strings into their internal values.
Merge branch 'hotfix/3.0.4.1' into develop
Allow headers+status to be edited on lazy renderer

* Adds a test case to check header and status
* Depends on 3.0.4.0 version of nereid test suite
Merge pull request #151 from sharoonthomas/develop

Allow headers+status to be edited on lazy renderer
Merge branch 'hotfix/3.0.4.2' into develop
Fix in load_user #4102

Instead of returning the active record return a new user. This is because the
returned active record seems to carry around the context setting of
active_test and any nested lookup from the record will result
in records being fetched which are inactive.
Merge pull request #153 from prakashpp/feature/task-4102

Fix in load_user #4102
Merge branch 'hotfix/3.0.4.3' into develop
Refactor profile API
Merge pull request #154 from sharoonthomas/develop

Refactor profile API
Fixed issue in serializing permissions
Merge pull request #155 from tarunbhardwaj/develop

Fixed issue in serializing permissions
Fix issue in render_email in nereid

* Fixed issue in render_email.
* Added test for the same
Merge pull request #156 from tarunbhardwaj/develop

Fix issue in render_email in nereid
Add serialization for Pagination objects

* Also adds test cases for pagination
Merge pull request #157 from sharoonthomas/develop

Add serialization for Pagination objects
Fix export of translations

* Add a test which ensures that export is still feasible
* Export looks at res_id and if it is >= 0, it assumed the translation
  to belong to a model record and res_id to be the db record id.
  However, nereid uses the res_id for uniquness and lineno gets stored
  in it. This patch skips this for translations from nereid types.