Feature/rails3 add migration squasher

Part of implementing https://www.openproject.org/issues/2340