Move API Card features into library.

Move Card display and manipulation classes into the API library project.
Modify CmHomeApiCardProvider to accept a single Context in the
contructor.

Change-Id: I01e684fa12888e8f8f07ec65b4c74e476c9eb901