Fix a few OpenMP bugs.

* Allow to attach directives on Pass nodes.
* Make sure OMP directives are not lost/misplaced when held by the final
  statement of a block.
Fix sections pragma for OpenMP and add missing statement
Add sleep function from time module
[openmp] add tests