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 assertion methods to be more obvious.

This includes docblock fixes, remove duplicate assertions, fixing assert true/false, and changing some tests to use the new assertions.
Merge pull request #835 from BlaineSch/bug/assertTrueFalseFix

Update assertion methods to be more obvious.
Added model initialization inheritance for model properties to DRY goodness when extending models.

Fixing tests and var names for a better understanding of what was done
here.
Merge pull request #837 from rapzo/feature/model-init-inheritance

Added model initialization inheritance for model properties to DRY goodn...
Update function mocking to store results and pass by reference.
Update unit tests to not use external resources.

WARNING: `Unit` class no longer has the method `_hasNetwork()` it has been moved to `Integration`. A better alternative, for unit tests, is to stub function calls in `Mocker::overwriteFunction()` or full classes in `Mocker`.
Merge pull request #841 from BlaineSch/bug/integrationInUnit

Bug/integration in unit
update \lithium\net\http\Request::referer() to correctly identify local urls which contain a full url string
correct \lithium\net\http\Request::env('REMOTE_ADDR') when $_SERVER['HTTP_X_FORWARDED_FOR'] is specified to return only a single ip address as expected

see http://stackoverflow.com/questions/753645/how-do-i-get-the-correct-ip-from-http-x-forwarded-for-if-it-contains-multiple-ip
and http://en.wikipedia.org/wiki/X-Forwarded-For
Merge pull request #842 from pixelcog/dev

update Request::referer() to correctly identify local urls which contain a full url string
fix for issue #774

ensure explicit request variables with value 0 are not treated as though they are undefined.
Merge pull request #844 from pixelcog/fix-router

Fix for issue #774
Merge pull request #843 from pixelcog/remote-addr

ensure Request::env('REMOTE_ADDR') consistently returns only one IP address