Changes to cache class.

* Default cache path changed from ./_cache to /_cache relative to script's directory.
* Added check to make sure BASE_CACHE_PATH exist, if not disable file cache.
* Changed to a whitelist key/namespace check using regexp.
* Fixed some JSLint errors and comment improvements.