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'
update Request::to() to allow overriding the query string and remove unnecessary formatting requirements on port
update Request::queryString() to merge query parameters of the same name
Entity::errors() will append errors and will merge the new given errors
with the previous ones already stored in the Entity's $_errors variable.
Also, added a reset functionality to clear all errors.

Entity errors are cleared before the Model::validation() filter function to prevent validation (and consequent write data) with a not empty errors array.
Removed &$self from the filter since it was not used.
ixed tests.

Replacing tests with a more simple, direct approach (from Jails).
Merge pull request #854 from pixelcog/request-to

minor update to Request::to() and Request::queryString()
Merge pull request #840 from rapzo/feature/entity-appending-errors

Entity::errors() will append errors and will merge the new given errors
if document schema changes from something to a DocumentSet, now exporter update handles that
Merge pull request #859 from fellars/bug/document-schema

if document schema changes from something to a DocumentSet, now exporter...
Fixing file permissions incorrectly modified in #859.
Merge branch 'master' of https://github.com/UnionOfRAD/lithium into dev