route path setting cleanup

uses core function to extract sub-directory through
$_SERVER['SCRIPT_NAME'] instead.
Merge pull request #73 from IntoMethod/route-settings-cleanup

route path setting cleanup