Fix parameter precedence. Add fragment handling.

- Added handling for query-string encoded URL fragments
- Adjusted precendence so that query/fragment params can't
  override route parameters and route parameters can't
  override built-ins.
- Tested fragment behavior & parameter precedence handling.