Make get uri methods in MasterDetailController public

* Use them to make petclinic's index dynamic