Fixes formatting and style for missing CGCanvasContext functions. Adds CGCanvasContext test.
Merge pull request #1785 from aradabaugh/cgcanvascontext

Fixes #1403 w/formatting and style for missing CGCanvasContext functions. Also...