Modernized for 2014 Objective-C

- Updated all property accessors to eliminate unnecessary ivars, specifications of getters/setters, etc.
- Fixed one or two memory management errors.
- Expanded list of event type flags, and wrapped into an NS_ENUM for nicer Swift interop.