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`.