JBIDE-16264 - @PathParam with hyphen in value shows as JAX-RS error

Fixing the reported error type (was wrong id)
Allowing for hyphen, underscore and dot characters but in first position
for the path parameters.
Added JUnit tests.