Bug 918966 - Routes in broker should handle IDs more generically

Rails automatically applies a (.:format) qualifier to restful routes. The
broker is using a set of very arbitrary regexes - instead we should be looking
for SPECIFICALLY .json or .xml as an extension, and everything else becomes
the ID.

Includes: https://github.com/openshift/li/pull/985