Add waitfor support

This is intended to add wait for as an option in the gruntfile, though it could also be used to pass settings through.