Fix in CommonJS support

The current CommonJS support is node.js specific as module.exports is
not part of CommonJS and is then not supported in all implementations
(ex: Rhino, Wakanda, CouchDB, ArangoDB, TeaJS...).
This correction make Mustache fully CommonJS compliant while being
still compatible with AMD, the script tag, the web worker
importScripts, and of course node.js