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'
HABTM Model relationship support for READ queries using `Database` datasources.
Save relations implementation.
Laboratory's readme.
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 remote-tracking branch 'upstream/master'
Merge branch 'master' into dev