changing resolve algorithm
corrected some bugs
finished dependencies resolve algorithm
added grunt-contrib-connect to be apache independent