This is a fix for issue/bug #16 that has been reported by gl3nn.

Activation links should be sent out correctly now. Now the mail uses the
SITE_ROOT from the config file instead of the domain taken from the url
in the address bar.

This fix has been suggested by stephenjust in the comments on the issue.