JBIDE-16476 - JAX-RS explorer shows url with slash before matrix parameters

Remove the '/' that was always included before the resource method URL Path fragment, even
when it was not necessary. It is now only included if the Resource Method has an @Path annotation.
Added a JUnit test to cover the bug.