Optionally require user to check terms on register

This adds an installation option which requires newly registering users to mark an "accept terms" checkbox.

What is yet missing is a nicer error message ("In order to register, you need to accept ..." instead of "Missing value").