STY: change some absolute imports to relative imports.

Those modules are the minimal set needed to bundled the parts we care
about for grits support in enstaller.

@corran or @sjagoe: can you look at this ?