Trigger the callback before we persist to the db
Moved the triggerCallback function
Corrected the triggerCallback function
Cleanup
Further cleanup and changes
Renamed obj to object
Moved out the assignment
Only save again if we actually executed a callback
Merge pull request #278 from GrahamCampbell/callback-fixes

Callback Fixes