Modularise root state
Set parent index state on top-level childs
Fix karma invocation
Remove superfluous top-level mocks
Beautify app.js
Move footer ctrl into state definition
Bump grunt-contrib-concat, ref item:356
added auto save to waste count refs item:280
added function to convert array to object
Merge pull request #177 from tlvince/refactor/rm-top-level-run

Remove top-level state dependencies
Merge pull request #178 from tlvince/refactor/grunt-contrib-concat

Bump grunt-contrib-concat, ref item:356
assigned value to variable i in for loop
fixed returned key
replaced translate with i18n
fixed test due to change in function position (moved into an object)