Added filter_var instead of direct checking

I don't really like annotation limitation for routes marked for sitemap. Now you can use XML too:

<route id="route" pattern="/">
        <default key="_controller">AcmeDemoBundle:Default:home</default>
        <option key="sitemap">true</option>
</route>