Implements datastore capabilities

This allows for capabilities to be set in the mysql database capabilities
tables and associated to datastores with the datastore_capabilities
table.

Implements: blueprint capabilities