#1166: Adding SetState instruction

This is an implementation of SetState context instruction in kivy graphics.