Fix Compiler::template() not checking the configured cache path.

The method ignored the configured cache path when checking if the directory is writable.
Merge pull request #699 from michaelhue/master

Fix Compiler::template() not respecting custom cache paths.
Merge branch 'dev'
Merge branch 'dev'
Revert "Fix Compiler::template() not checking the configured cache path."

This reverts commit 4d2bf79127297411e2acb638368cbd60312ae97f.
Merge branch 'dev'
Merge branch 'dev'
Merge branch 'dev'
Merge branch 'dev'
Fixes scope/library conflicts for matching on scoped routes.
Merge pull request #945 from jails/bug/scope-library-conflict

Fixes scope/library conflicts for matching on scoped routes.
Merge branch 'master' into dev