Refactored android_core

Refactored android_core so RosActivity can be used as a component, allowing the use of fragments among other things.
This shouldn't be accessible. Implement RosActivityEvents as a private nested class.