removed cache constant from Application file
remove reference to cache constant on construct
config cache defers to the resource manager
remove reference to constants from index.php
ensure the cache provider initialises with the correct directory
replace constant with app reference
removed cache constant from extensions
workaround to set cache path when called via static methods
put the app in closure context
Merge pull request #1284 from rossriley/cache-constant-removal

Cache constant removal