include version dependent modules

The change from Rails 4.0 to 4.1 has moved some of the view logic into
diferent modules. This change includes the appropriate module depending
on it's location.