adding new javascript function OC.generateUrl(url, params)
add dprecated warning for OC.Router
Merge pull request #7578 from owncloud/introduce-generateUrl-stable6

adding new javascript function OC.generateUrl(url, params)