Replace config() and config_get_storage_names_with_prefix() with \Drupal

These functions are going to be removed - see https://drupal.org/node/2192693