Trim input strings.

Relates to rubenv/grunt-angular-gettext#1.