Add memcache entries for custom_attrbitues, fix db_downgrade
Merge pull request #2076 from reciprocity/feature/cache-migration

Add memcache entries for custom_attrbitues, fix db_downgrade