Boundary conditions and applications of WENO finite difference schemes for hyperbolic problems