Ensure directory exists before changing in popen

If the directory does not exist, we want to ensure that it does.

Forking repos will fail in some situations because of this issue.
Whitespace fixes to patch
Allow issues to be viewed for authenticated user when project is public or internal.
Feature visit issues page for public project as auth and non auth user.
Feature for visit issues page for internal project as auth user.
Scenarios for checking if MR are shown for internal and public projects.
remove remaining python references
Merge pull request #6227 from jojosch/remove-python-doc

remove remaining python references
Extract projects and mr into methods in features.
Do not load all projects all the time.
Enable markdown formatting for snippets in projects.
Use recent gitlab_git lib

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use new tags/branches from gitlab_git

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Filter items by project.
 Merge branch 'bug/filtering' into 'master'

Bug in issue and merge request filtering

Fixes #1006
Fixed gitlab_git rev

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Change Devise.confirm_within to Devise.allow_unconfirmed_access_for

According to Devise's changelog
(https://github.com/plataformatec/devise/blob/master/CHANGELOG.md),
Devise.confirm_within was deprecated in favor of
Devise.allow_unconfirmed_access_for in version 2.0.0.
Merge pull request #6231 from babatakao/markdown-for-snippets-in-projects

Enable markdown formatting for snippets in projects.
Truthful wording. Fixes #934
 Merge branch '500-message' into 'master'

500 Message