make dummy rails app rails 4 friendly

make dummy rails app rails 4 friendly

add action_mailer dependency
add support for multiple rails versions to travis.yml