Use GET instead of POST for Markdown previews
Refactor Markdown preview tests

Create a new shared module for common issue/merge request behavior,
use `expect` syntax instead of `should`, and avoid `visible: false` in
the `have_css` matcher.
Fix Markdown preview tests

Update Spinach tests for Markdown previews for the new-ish tab UI that
replaced the old preview/edit toggle button.
Add new Markdown preview test

Add a test to make sure that Markdown previews are available when
editing an existing issue.
Fix long line in view