Prepare release
There will be no more PEAR releases
Closes #1231
Merge branch '3.7' into 4.0
Merge branch '4.0' into 4.1