Fixed syntax, GCD-safe, added podspec
- Fixed syntax issues, converted to modern objective-c syntax
- Added GCD code for thread safe initialization
- Added initial version of podspec file to prepare for submitting to CocoaPods