notifications: Add build_id as a template variable

Closes travis-ci/travis-ci#1333.
Merge pull request #269 from travis-ci/hh-add-ids-to-notification-template

notifications: Add build_id as a template variable