Strip attributes for Milestone and Issuable. #3428
Fixes: #3428 (closed) and replace: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1843
- This allow to trim leading and trailing whitespaces for Milestone#title, Issue#title and MergeRequest#title.
- This can be reused in other models.