Move trailing option into Router. Use its value as default for routes. Refactoring.
Merge pull request #745 from YAndrew91/router-trailing-slashes

Move trailing option into Router. Use its value as default for routes.