Modify URL shortening logic

The only exceptions (by default) to automatic module URL shortening are
non-image embeds (e.g. Youtube links). Images will be auto-shortened,
but modified to make them embeddable.
Also fixed LinkShortener's Respond method to always shorten URLs prefixed
by "<nick> link " (the logic to do so had been incorrectly placed in the
Hear method.