Add preview action

Shows the information in the preview window.
Fix to always set the action__haddock_index
Fix to save the exact flag to candidates
Merge pull request #2 from shiena/patch/hoogle_preview

Add preview action