Added new singleton creation macro for c++ classes. Renamed objective-c signleton macro to declareObjSingleton.