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`.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.