Admin module: Settings functionality

Added settings functionality and update to User class for storing the
website ID in the User session.
Pull request Berend Baas

Conflicts:
	lib/modules/admin/Module.class.php