Refactored android_core

Refactored android_core so RosActivity can be used as a component, allowing the use of fragments among other things.
Add @Override on these methods. See if that can be done for you in the Studio settings.