notifications: Add build_id as a template variable

Closes travis-ci/travis-ci#1333.

I thought about adding job_id, but that doesn't make too much sense as notifications are per-build, not per-job.