Sanitize dojo components

First bunch of fixes… More likely to come later…

@thz  @VicDeo @karlitschek FYI
This copying is not needed, as in this section only non-JavaScript files are copied. And unless I missed something when I just tested and had a look, html/entities.js is self-contained and does have all data inside. So adding 'dojox/html/entities' to the profile as done above is all that is needed to include that 'entities' unit.