Creates view.js and adds script to index.html body
Adds controller.js and TroopTrainer.Controller object
Moves TroopTrainer definition from troops.js to controller.js
Adds view.js and TroopTrainer.View object
Adds application.js
Definines TroopGroup, Calculator, View, and Controller instances in application.js
Moves addTroopGroups function from Calculator to Controller
Adds Controller functions calculateTotalTrainingTime and calculateTotalElixerCost
Adds var keyword in Calculator functions totalTrainingTime and totalElixerCost for variable scoping
Removes addTroopGroup function
Controller is instantiated with TroopGroup instances
Merge pull request #4 from antoniodangond/controller-setup

Controller setup