add the message type to the worker message headers
centralize all json payloads to travis/api
use stubs for api/json tests
remove stray autoload
remove travis/renderer
Merge branch 'master' of github.com:travis-ci/travis-core

Conflicts:
	lib/travis/notifications/handler/worker.rb
	spec/travis/notifications/handler/worker_spec.rb
Merge branch 'master' into remove-rabl

Conflicts:
	lib/travis.rb
merge master
bump simple_states
Revert "re-add renderer because travis-ci uses it"

This reverts commit 727e3307c20fa9988479b0944f5fa86f86712125.
Revert "get rid of rabl and use the json classes instead"

This reverts commit 244c163ba84a3060c75ef360471cb50f3d461ed2.

Conflicts:

	lib/travis/notifications/handler/worker.rb
	spec/travis/notifications/handler/worker_spec.rb
Revert "start removing rabl"

This reverts commit 9bc2e3c41a25e072458a969210e902b23666148e.
don't crash when head_commit is empty
Merge branch 'remove-rabl'

Conflicts:
	lib/travis/api/json/archive/build.rb
	lib/travis/api/json/pusher/build.rb
	lib/travis/api/json/pusher/build/finished.rb
	lib/travis/api/json/pusher/build/started.rb
	lib/travis/api/json/pusher/job/created.rb
	lib/travis/api/json/pusher/job/finished.rb
	lib/travis/api/json/pusher/job/log.rb
	lib/travis/api/json/pusher/job/started.rb
	lib/travis/api/json/pusher/worker.rb
	lib/travis/api/json/webhook/build.rb
	lib/travis/api/json/webhook/build/finished.rb
	lib/travis/api/json/worker/job.rb
	lib/travis/api/json/worker/job/configure.rb
	lib/travis/api/json/worker/job/test.rb
	lib/travis/notifications/handler/archive.rb
	lib/travis/notifications/handler/pusher.rb
	lib/travis/notifications/handler/webhook.rb
	lib/travis/notifications/handler/worker.rb
	spec/json/pusher/build_started_spec.rb
	spec/json/pusher/job_created_spec.rb
	spec/json/pusher/job_finished_spec.rb
	spec/json/pusher/job_started_spec.rb
	spec/json/worker/job_configure_spec.rb
	spec/json/worker/job_test_spec.rb
	spec/travis/api/json/archive/build_spec.rb
	spec/travis/api/json/pusher/build/started_spec.rb
	spec/travis/api/json/webhook/build/finished_spec.rb
	spec/travis/api/json/worker/job/test_spec.rb
	spec/travis/notifications/handler/webhook_spec.rb
	spec/travis/notifications/handler/worker_spec.rb
	spec/travis/notifications/json/pusher/build/started_spec.rb
	spec/travis/notifications/json/worker/job/test_spec.rb
always default Job#sponsor to an empty Hashr
include result and repository_id into build matrix
do not include the log to build matrix payload, so the client updates the job data
move to asset host
lazy eval assets host and version
provide default asset hosts for all envs