Support upc_barrier and upc_wait.
Add .gitignore.