Fixed bug in parsing ship traits info links

Fixed a bug causing show info links in ship traits to be parsed
incorrectly, if the typeID linke ended with 0.

THX to 0mni for reporting and submitting a fix!
Fixed bug in generating image URLs

Fixed incorrect building of image URLs.

THX to 0mni for reporting and submitting a fix!