Relocate the TeamCity code.

To be with Travis, another build success checker.

Also, changed the comment so that it reflects that this is *not* a version
grabbing hook.
Coveralls apiUrl use badge subdomain
To bypass CloudFlare's threat control.
Coveralls: use request().

Should fix #180.