added error array in controller
added hasError()
added registerFunction in BaseUser;
Merge origin/master into amlak

Conflicts:
	apps/core/models/BaseUser.php
fixed user has error
removed error from controller base
fixed send error
fixed melk controller
added fname and lname to create melk