Fix some issues for deploying multiple files

* Enclose all modules in nowiki
* Change twAddPortlet to Twinkle.addPortlet
* change twinkleUserAuthorized to Twinkle.userAuthorized
* fix minor thing in sync.pl to enable deploying to test wiki