Add restore() for logicop
Add Boolstate and STATE1 for logicop
Merge pull request #105 from raven02/patch-4

Add logicOps support in native