Add Rubocop to tests; rearrange index view

Rubocop will now run in the default Rake task.

The index view was also pulled up out of its own directory and
into the root of the views directory.