fixed gulp tasks, added bower dep, added support for amd/commonjs