Use relative imports for submodules.

Needed for Python 3.x.
Basic permission map implementation.

Drops sepolgen dependence.