Feature/rails3 rename issues

Implements https://www.openproject.org/issues/2027