several adjustments for Rails 3.2 + RefineryCMS 2.0 support