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
Reduce the utilization of superglobals in tests.
Merge pull request #845 from jails/refactor/request-tests

Reduce the utilization of superglobals in tests.
Merge remote-tracking branch 'origin/dev' into dev