fixed iOS8 deallocated instance crash.

Added class property to prevent the alert view from being deallocated.
Fixes crash when dismissing alert view in iOS8.
Merge pull request #7 from jtoronto/master

fixed iOS8 deallocated instance crash.