Init version 4.0 and migration from 3.2 to 4.0 (closes #4515)