Custom repositories do not define 'metadata_expire = 1'
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1220861
Description of problem:
Currently candlepin sets redhat repos to use 'metadata_expire = 1' in the redhat.repo file.
Custom repositories do not have this set, and it is up to katello to set it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a custom repo
2. Register a client
3. attach client to custom repo
4. Example /etc/yum.repos.d/redhat.repo
metadata_expire is not set for the custom repo
metadata_expire is set to 1 for the custom repo
fixes #10495 - create custom products with metadata_expire set to 1
also provide upgrade rake task
Red Hat products will have it set to 1 via candlepin