move activities for media to media package

- move some common code to libs/util
- move resource
- some resources are duplicated as used by other components

Change-Id: Ief4636b2f095628906dc40b56329f4103ee5a501
92 files changed