Added config option

Updated the task to allow for config options specified in 4.x grunt style. Also added formatting, please ignore formatting if you like.