Edited view to accommodate new JSON response structure

* mainIndex.html divs have been tweaked to iterate correctly through the new structure
* application_controller.rb was changed to remove names from parent objects
Merge pull request #43 from keaty/master

Edited view to accommodate new JSON response structure