Add check if window.cordova exists before running push notifications
Refactor code
Merge pull request #108 from fatchicken007/master

Refactor code and fix bugs in battle controller
Refactor quests and clean up code
Do not add experience upon winning a quest
Add button for completing quests