Use singleton pattern recognized by the analyzer.

The analyzer was issuing a warning for a leak when using
+initialize to implement the singleton pattern. Use the
more conventional dispatch_once in sharedInstance method.
Merge pull request #2 from drodriguez/fix-analyzer-warning

Use singleton pattern recognized by the analyzer.