Adds terminate functionality to the datagrid/brooklynstorage. This is ne...

...eded to correctly release resources

when a LocalManagementContext is going to be discared; this is needed for the Hazelcast integration.