Changed persistence to err aware callbacks
fixed tests and grunt

*oops*
Merge pull request #25 from leider/master

Err aware callbacks