Change the module definition system to make something more manageable
Change the module definition system to make something more manageable

ch.define now can call an implementation function to be linked to the defined object
ch.require populate dependencies and when ch.define has finished its job he call the dependency queue cleanup process

Signed-off-by: Stéphane HULARD <a24f38cb8c57ec2778c80a9f0c151933508927e5@gmail.com>

CHStudio/ch.js,CHStudio/ch.js