lib/python: add urandom

* Update .gitignore to ignore *.pyc and *.pyo
* Add urandom library (for extmath)