Fix large push data getting truncated

This fixes random 500 when hooked diff is too large.
Closes #258
fix deprections warnings
Append the build-id to the build-link.

fixes #259
Backport upgrader script from GitLab

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Uppercase constants

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge pull request #365 from jojosch/fix-build-url-bid

Append the build-id to the build-link.
Merge branch 'fix/deprecations' of github.com:pgolm/gitlab-ci into pgolm-fix/deprecations

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	config/initializers/secret_token.rb
Merge pull request #261 from Mikulas/fix-push-data-truncated

Fix large push data getting truncated
Update db schema

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
 Merge branch 'pgolm-fix/deprecations' into 'master'

Fix deprecations

Ported from https://github.com/gitlabhq/gitlab-ci/pull/357
 Merge branch 'upgrader' into 'master'

Feature: Upgrade script
Version to 4.2.0

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Improve application.yml config
Better name for project field
Fix public scope, use new project field name
Use new version of meta gem
Update docs for 4.2

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>