Adds events for route changes and route errors and returns false from redirect if route is not found.