Update singleton class method to use dispatch_once and new instancetype return type.

Silence analyzer warning regarding the init method
Merge pull request #19 from ryanmaxwell/master

Silence analyzer warning regarding the init method