[CLOUD-294] user: validate the avatar URL
Created by: unknwon
Adds following validations when a user tries update the avatar URL:
- Make sure the value is a HTTP or HTTPS URL.
- The length of URL is no more than 3k characters.
Test plan
Unit tests.
Jira: CLOUD-294