Update GoalManager.coffee

add getGoalState
Merge pull request #997 from gosnat/patch-6

Update GoalManager.coffee