rename routing pattern to path

`pattern` is deprecated since symfony 2.2
Adding some adjustments
Merge pull request #1789 from jrobeson/replace-routing-pattern-with-path

rename routing pattern to path