Removed redundant closing PHP tags and stripped some trailing whitespace

Unnecessary closing tags makes it easier for output to be sent to the
user before you've sent all of your HTTP headers.
Indented list of routes nicely.
Removed unnecessary PHP closing tag from generated config file.
Moved toro.php into the system directory.
Converted lots of hard tabs to spaces.