Install option for git-hooks in import script and bugfixes.

Now with the README.md merged.