Do not hardcode the namespace

Instead, get it from the .registration file generated by genprovider
Factor out reading of the .registration file
Run on .registration file, take namespace from there
bump version to 0.3.1