Show only ≤16 lines of code in a discussion (fix issue #2860).
Migrations for convertion merge_status added
Database schema updated
State machine added for merge_status field
class.self methods moved to scopes
human_merge_status replaced by human_merge_status_name
Since search_autocomplete_source rendered with raw all human input should be sanitized to prevent XSS
Sanitize user profile input
proper name for issue partial
Add close issue to note actions bar
Fixing tests
Fix issue edit button showup
Merge pull request #2889 from kennytm/master

Show only ≤16 lines of codes in a discussion in a MR (issue #2860).
Merge branch 'state-machine-stage-2' of https://github.com/Undev/gitlabhq into Undev-state-machine-stage-2

Conflicts:
	app/models/merge_request.rb
Fix automerge detection client-side since #3056
Merge branch 'Undev-state-machine-stage-2'
email validation added
Description to groups added
Description added to temas
Spinach tests fixed