added grunt tasks for compiling ts and copying .d.ts for node and bower