Add ``past.builtins.oct`` function

Also add docstring to ``cmp()``