Use $window on inventoryCtrl, so it can be mocked on tests
Added inventoryCtrl tests for hatching and selling
fix #2205 hide checklist button from challenges
Merge pull request #2253 from djuretic/inventory_tests

More InventoryCtrl tests
Tests for choosing a pet and buying an egg
Minor style changes to inventoryCtrlSpec.js
Test refactoring: user.user -> user