Adding purchase callback

* added the purchaseResult enum has all the different results of a
purchase action
* plummed the purchase callback to trial upgrade and in app purchase
* cleaned up code to use ActionDelegate for messagebox instead of the
custom delegate, which streamlines the Unity MonoDevelop code.