Config

This is rather trivial:

 * have a new compat file, meant to keep the python (version- monkeying out of the code (useful later on for eg to handle (portable) unicode decoding)
 * have a central exception file, to raise Registry specific exceptions where ever appropriate

Incidentally fix #44