Add ability to search in issue description and issue comments

 * edit queries in serach context
 * edit template for result
merge into current master
Update ability to search in issue descriptions and comments
Fixes a problem with 'Issues' filter box, where description of the filter says 'Filter by title or description' but in fact filter only works for title and doesn't work for description
Add autofocus and tabindex.
links to issues on main dashboard
Update event helper to display target_iid in event title instead of target_id.

The event helper is used extensively within the dashboard atom feed, so by
fixing this, we fixed #303.
Project commit count respects default branch. Closes #299
Document that we don't want pushed commits to be rebased and give a rationale for many small MR's policy.
Add current_user_id to gon vars

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Add only open/reopen scopes to issues

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Add js milestone class. Activate drag-drop for issues on milestone page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Add reopened tab to milestone issues. Add ids and data to milestone issues to enable dragging

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Prevent a lot of sql queries for ProjectTeam#fetch_members method

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
More efficient query for mentionable users

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'performance-improve' into 'master'

More performance improvements for large groups

* fetch team members using much less sql queries
* collect mentioned users without iterating over all project users
Fix tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Splitted the Spinach tests to prevent time-outs

Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
We need to change config in step 5
improve no projects screen

* correct odd capitalization pattern in tagline
* remove "click on button" statement as telling a user to click something is not a good web development practice
* add missing period for consistency