added cukes for issue#edit

and issue#edit with preview
[OPF #812] fixes issue preview

- used jquery on instead of click for preview action
Merge pull request #162 from opf/feature/rails3_fix_issue_preview

rails3 fix issue preview