Removed "to:" from root directive and fixed typo ":to"

`root :to` is invalid syntax
`root to:` is valid, but the generated routes file omits `to:`
Merge pull request #11145 from JeffreyRodriguez/rails_4_root_directive_updates_and_fixes

Removed "to:" from root directive and fixed typo ":to"