Use relative imports in inotify.server.
Fixes an import failure I was getting under hgtk and hgweb:
*** failed to import extension inotify: 'module' object has no attribute 'inotify'
Do not sort hgwebdir repositories if python list or tuple is given.
This was introduced by changeset
f67d1468ac50 (util: add sort helper)