Ensure metadata cache is not ArrayCache in production
Code style fixes.
Fix namespace collission
Merge pull request #1177 from c960657/production-settings-arraycache

Ensure metadata cache is not ArrayCache in production