fix(application): set injector property when bootstraping the app

Closes #1391
fix(travis): BUILD_LEADER is not available in build.sh

Replace with check that TRAVIS_JOB_NUMBER ends at .1.

Closes #1362

Closes #1393