Add bowerrc and optimize the grunt tasks