fix next button in pagination disappears on certain page
also fix pagination not updated when switching from a non-empty to an empty result list
fix context menu should always be shown in the visible area
Tell Hound to allow {} for multi-line blocks

Prefer alternate convention based on semantic intent of block. See:
http://devblog.avdi.org/2011/07/26/the-procedurefunction-block-convention-in-ruby/

See: https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml#L81

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge pull request #1943 from 0xF013/feature/15168-context-menu-should-always-be-shown-in-the-visible-area

fix context menu should always be shown in the visible area
Merge pull request #1937 from 0xF013/feature/15598-next-button-in-pagination-disappears-on-certain-page

fix next button in pagination disappears on certain page
Merge pull request #1944 from opf/fix/houndci-allow-braces-multiline-blocks

Tell Hound to allow {} for multi-line blocks
attempt to fix flickering spec
attempt to fix flickering spec
Fix icon padding issue in menus

- Fixed icon padding issue in menus
(This is temporary solution)
Add border to pagination

- added border to the pagination
Merge pull request #1946 from opf/feature/border-for-pagination

Add border to pagination
fix sorting by wp id not displayed in modal
Add specs for Fix unclear error message when copying project
Fix unclear error message when copying project
Add the missing english translation for the WorkPackage model
Add the method to_s in the Member model
Merge pull request #1949 from 0xF013/feature/15606-sorting-by-wp-id-not-displayed-in-modal

fix sorting by wp id not displayed in modal
remove unneeded String#mb_chars from SearchHelper

Test fails randomly.

<pre>
  1) Error:
SearchHelperTest#test_highlight_multibyte:
ArgumentError: invalid byte sequence in UTF-8
    app/helpers/search_helper.rb:36:in `block in highlight_tokens'
    app/helpers/search_helper.rb:26:in `each'
    app/helpers/search_helper.rb:26:in `each_with_index'
    app/helpers/search_helper.rb:26:in `highlight_tokens'
    test/unit/helpers/search_helper_test.rb:46:in `test_highlight_multibyte'
</pre>

String#mb_chars is for Ruby 1.8 compatibility.
Rails4 dropped Ruby 1.8 support.

--HG--
branch : ../sandbox/rails-4.1
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/sandbox/rails-4.1%4013414
Fix watchers-list in details pane

- fixed watchers-list in details pane
- changed color of the remove icon from black to red
- added global color variables