Added avatar, if a user has it.
Change enctype of registerForm to multipart. Added js for validating
choosen foto file type (only jpeg files).
TODO: Remove script file from jsp page in single script file.
Fixed generated path of uploaded user file.
TODO: take out all path constants in separate util class.
Fixed type of haveAvatar field: Boolean -> boolean.
System