Modified clWaitForEvents to work with event completion in any order.
Modified clWaitForEvents to work with event completion in any order.

surround-io/oclgrind,bitfusionio/Oclgrind,mpflanzer/Oclgrind,bitfusionio/Oclgrind,bitfusionio/Oclgrind,mpflanzer/Oclgrind,mpflanzer/Oclgrind,surround-io/oclgrind,surround-io/oclgrind,mpflanzer/Oclgrind,surround-io/oclgrind,bitfusionio/Oclgrind