Fixed all the confirm: deprecation warnings
Merge pull request #5819 from jvanbaarsen/rails4

Fixed all the confirm: deprecation warnings
Merge branch 'rails4' of /home/git/repositories/gitlab/gitlabhq