Merge branch '3.2' into develop

Merge the changes that were made for the 3.2.1 release into the develop
branch.
Update to ensure conformity with coding guidelines

The python files were changed to ensure conformity to the Tryton
coding guidelines outlined in the document at
https://code.google.com/p/tryton/wiki/CodingGuidelines

The files were checked using pep8 with ignore=E123,E124,E126,E128
as recommended.
Prepare release 3.4.0

Version number increase and change log update to make the package
ready to be released as version 3.4.0.
Release 3.4.0

Merge release branch 3.4 in to master as release 3.4.0.