Override inherit custom values

http://issues.civicrm.org/jira/browse/CRM-14031

According to comparison, these should be up to date with latest commits, but please let me know if they are not or if there are changes needed.

These changes allow users to set custom values for shared memberships that are different from the parent memberships and do not change when the parent membership changes.