CODE: Two formats of depmod

* new task option 'type', possible values 'old' or 'new'
*  'old' = depmod file for 'rake generate_script_tags'
*  'new' = CommonJS module which can be required