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.
Merge branch '3.4' into develop

Merge the changes that were made for the 3.4.0 release into the develop
branch.