Move test app into spec/dummy

This isn't library code, it's test code. It doesn't belong in `lib`. Common
convention in engines is to have the dummy app in `spec/dummy`.
will be nice when we don't need this whole file anymore (after move to capybara)!