add support for default base path configuration, closes #18
use "ROUTER.basePath" var to set a default value
fix advanced token handling