Max Branch

Comment
Input validation

Helper classes, some bug fixes (like uniformity and consistency).
Delete .gitignore
Merge branch 'max'

Conflicts:
	clients/scripts/checklogin.php
	clients/scripts/register.php