[ticket/293] Use trimmessage as composer dependency

Fixes #293