Remove UIApplicationWillResignActiveNotification on dealloc

This should fix the crash described in #38.
Merge pull request #39 from tonyarnold/master

Remove UIApplicationWillResignActiveNotification on dealloc