Used compiled ``_af_rmul`` and ``_af_invert`` in ``perm_groups``

The compiled version is faster due to unwinding.
added ``_code_object``; used compiled ``_af_rmul`` in more places
``test_rubik`` not skipped