SUREFIRE-1099 avoid invalid link ids

Call toHtmlId() everytime before using testCase.getFullName() as anchor
id or link target.
Use DoxiaUtils.encodeId() in toHtmlId(), to avoid problems with any
illegal char.

This closes #36
Make build work with JDK 1.5 again