Writing Statistics into teamcity output. Closes #11