bugfix: only keep first number in objectref
RT1.2 support multiple object routes

* /ticket/11,14/show
* /ticket/11,14/history/show
* /ticket/11/history/id/166,270/show

RT comments to the REST interface seem to indicate that it supports
routes like "/ticket/1-3,7-9/history" .. but this is deceiving as the
condition block never gets triggered. Here I provide the specified routes.
Merge branch 'master' of https://github.com/coffeemonster/RT-Extension-RESTjson