Added CakePHP caching and profile_id usage in key

Removed the custom caching code and replaced with CakePHP cache class usage.

Added profile_id to the cache key.  Otherwise cache was no unique per domain, but shared by all domains.