Add metadata support to IBCoreDataStore

IBCoreDataStore does not support metadata correctly, since the save method will not fire if there are no pending changes to any managed objects. This pull request fixes that issue and adds convenience methods for getting and setting metadata.