Moving the repo search command to the platform. It previously lived in b...

...oth pulp_rpm and pulp_puppet in almost exactly this form.

This is all basically just copy-pasted from puppet and rpm support, each of which had nearly-identical copies of this command.