Adding support to requirejs

Added to options:
 - requirejs: when set use requirejs format template
 - modulePath: requirejs path to the module