switched core content manager from CCApplication to use the CCContentManager

We switch to use the CCContentManager as the default content manager for the framework. Also fixed a null pointer exception in control button.