Fixed the Gruntfile to take app plugins into account