Merged the Deck Export Feature from master to v0.19 branch
(cherry picked from commit 5acb61ed32e08cf42ce6645cab759b03578733f1)
Added bringWindowToForeground method to ProgramHelper that brings the Hearthstone window to the front.
Added experimental 'Export Deck' button to the decks tab.
Makes use of the new deck export feature from @shyos. I've added OS X support (including for screen capture and for dealing with 'natural' scrolling which is the reverse of scrolling on Windows). The export does not yet actually export the deck to HearthStats.net, but it logs what would be exported so that we can test it.
Merge branch 'deckexport' into fixes-for-v0.19
Fixed problems with deck constructor not switching to Hearthstone and getting first card wrong.

Fixes #514