Common middleware for grunt, based on grunt-contrib-connect.