Sanitize dojo components and also clickable links

First bunch of fixes… More likely to come later…

@thz  @VicDeo @karlitschek FYI