refactoring grunt task && rewrite swig compile tasks
connect2 task refactoring
clean spaces
implement gruntconfig.json external config
smart clean