Bump rev in CMakeLists.txt and update release instrux in the docs.
Merge branch 'versions/0.4' into dev
Bump CMakeLists.txt version.