Updated code documentation

Allows generating a proper documentation using JSDuck.
(A custom JSDuck tag class for "licence" tag should be applied upon generation.)
If you find one on https://github.com/senchalabs/jsduck/wiki#syntax, you can tell me. Could use ```@class wikibase.datamodel``` with ```@singleton```, but that would render differently.