Mirror of Matt Gallagher's synthesize singleton macros at http://www.cocoawithlove.com/2008/11/singletons-appdelegates-and-top-level.html