fix appframework routing
adding documentation for registerRoutes()
add PHPDoc for urlParams
Merge pull request #6027 from owncloud/public-api-restful-routing-oc6

fix appframework routing