Get OGL to run on Py3 and add basic unittest

- add a unittest
- get it to run on Py2.7 and Py3.3
- add flags