Trunkating build name in StashClient added.

Stash doesn't like long display names which contains line breaks.
Gradle produce really long wall of text on build failure that recognised as build name. So Stash rejects messages about failed builds with Gradle.
This patch is just taking first line of submitted build name and pass it to Stash.