Encode links to SF logs

In some cases console links can contain characters which may cuase problems in HTTP links (e.g. ':' in IPv6 addresses), therefore links
to SF console logs has to be encoded.
Add unit test for encoded console URLs
Add junit dependency