Added layers to nanovg

Added support for layering of calls, to make it easier to control the
order of the rendering of the calls