This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
Change-Id: I4ae65227ea29dff8a79bd1d9373dec46c4b53598