Fixed error message
Removed unused parameter doc entry
Fixed exception type doc entry
Fixes to url() and www() functions
Added conditional port to host detection
Some internal changes to the Registry class
Changed usage of registry, enabled use of database() with array config, changed all DIRECTORY_SEPARATOR and DS to '/'