Adds MediaController.

Expands RestApiDriver to easily create/drop databases for testing.