distinguish between file, download and normal links and support piped links

transforms [[file: image.png]] to an image and [[download: file.zip]] to a file link.
it also allows to create links like [[document-name|shown text]]

I'm not really familiar with wicked, so my code might need some polishing, but I think the general idea would be an improvement to wickeds functionality.
Any thoughts on this?