update dep: path-to-regexp; add option: maxLength; reorganize code
test: reorganize require order; update path-to-regexp, fix compatibility; add test for option - maxLength