rhbz1001405 - refactor code

- customised trust manager no need to be conditional as it's only used by resteasy
- remove unused test class
- remove metavar from option