Fix: Wrong HTTP method creates wrong exception

Wrong HTTP method results in `NotFoundException` instead of `MethodNotAllowedException` for static URIs.
Added failing test case for 405 response on static route URI match
Removed stupid whitespace
Merge branch 'kelunik-patch-1'
Removed nested control structure