Added support for canvas patterns and drawing with pattern fills.

Added support for canvas patterns and drawing with pattern fills.
Replaced fixed function calls in EJPath with EGL 2 calls.