on(), stringify(), purge() and corrections

'on' method && stringify method added to ec.Object, 'purge' method of
ec.EventManager added and some correction to Color, Rectangle, Vector2
and Stage.