Optimizations and additions

- Change d HTTP_TYPES to const
- Removed "/" from end of base URL (no more substr needed)
- Changed "generate" method to "reroute" method and now it is not
generating url but redirecting to that url
- Removed "apply" method. Now plugins are initialized instantly after
they are added to plugin stack.
- Removed default_route from stack and moved it to separate var