Updates to dummy app

update .gitignore

updates for rails 4

update dummy spec assets

remove dummy app home helper

update dummy spec README
Remove rails 3.1 from travis
Update feature specs with user nickname; add max login attempt spec
Add comment for running specs against multiple versions of Rails
regenerate schema
explicit before_script and script steps in travis.yml
feature spec for checking max attempts before show
Restore lib/two_factor_authentication.rb