suncat2000/MobileDetectBundle — pull request #26 by rmsint (2013-06-04 14:01:10+00:00)
Title: Fix getRouteOption + only handle master requests

- the Symfony RouteCollection can return null if a Route object is not found, this is fixed
- if fe. esi is used twig will return an error for sub request, therefore only handle master request
- upped the priority a bit of the kernel.request listener to be called before content is rendered