Metadata support, package sorting and baseUrl handling

I just spent 30 minutes trying to figure out why all metadata was reported to be { impl => false } until I found that you hadn't implemented it yet. ;) I added it together with a check for @:noDoc.

Regarding the baseUrl thing, I'm not entirely sure how this is done nowadays, but just dropping the value into a script-tag seems to do the job.