Refactored android_core

Refactored android_core so RosActivity can be used as a component, allowing the use of fragments among other things.
Argument can be final.