RUBY-15024: RSpec 3 TeamcityFormetter's implementation
reviewed by Vladislav Rassokhin
(cherry picked from commit c4e6f13)
RUBY-15024: check for rspec 2 changed to work with ruby 1.8 and in teamcity
reviewed by Vladislav Rassokhin
(cherry picked from commit 05c1a44)