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`.
fix hash syntax while we're here?