Incorrect string NULL instead of real NULL; fixes #515
Add surname and lastname variables for mails; fixes #312
Fix a warning in modules check
Add test for install version
Indent, prevent warning when not in upgrade mode