Popups for success and failure

Adds trigger actions for displaying popups on success and failure, and corresponding messages specific to the situation. How does it look? @kadst43 @BrettASwift 
If I were getting fancy, I would write this whole function as:

moveHasFailed = !failureType || ( failureType === situation );
callback();