Prepend config.siteurl to media URLs if it is specified

Resolves #613, still need to fix media upload problems though. Tested and works great.