Fixed error handling of ModelNotFoundException and PageNotFoundException exceptions
Added the ability to use templates for route requirements
Removed optional last slashes because now it handled by router
Added the ability to set defaults and requirements to routes
Updated route definitions
Added middleware dispatcher