improve gitlab ci detector
move to gitlab_ci script
Merge redmine-review-feature-201-auto-release-if-build-on-master-succeed
reflect changes