Updated the documentation about extending.

As described in #26.

I found the documentation about custom validation was lacking and it took me some time to find out. I also moved the whole section down, because extending is more like an "advanced" thing and is not needed in general.