Working route parsing and resolution

- Fixed promblems
- Combine match() and extractRouteValues() methods into match()
- Added tests