Check that the testprogram compiled before we test the result from running the test. This fixes error when running cmake on Windows.
ERT-514 Export of plot to png and PDF
Merge remote-tracking branch 'upstream/master' into ERT-514

Conflicts:
	devel/python/python/ert_gui/tools/plot/plot_panel.py
	devel/python/python/ert_gui/tools/plot/plot_window.py
	devel/share/gui/plots/rft.html
	devel/share/gui/plots/rft_overview.html
	devel/share/gui/plots/simple_overview_plot.html
	devel/share/gui/plots/simple_plot.html
ERT-514 Export of plot to png and PDF, added support for rtf, rtf_overview
ERT-514 Export of plot to png and PDF, changed the save file dialog in order to work on Linux
ERT-514 Export of plot to png and PDF, changed plot_window and moved trackers to plot_metric_widget. Rename of methods
ERT-514 Export of plot to png. Moved code in order to control when a pages is rendered
Merge remote-tracking branch 'upstream/master' into ERT-514

Conflicts:
	devel/python/python/ert_gui/tools/plot/customize_plot_widget.py
	devel/python/python/ert_gui/tools/plot/plot_window.py
	devel/share/gui/plots/scripts/base_plot.js
ERT-511: Init case from existing: updated state map
ERT-514 Export of plot to png, added method to render plot
ERT-514 Export of plot to png, clean up of code
Merge remote-tracking branch 'upstream/master' into ERT-514
ERT-437: Deprecated module rml_enkf and added bool flag use_prior to the rml_imodel module.
ERT-437: Fixed spelling error lamda -> lambda
ERT-437: Moving code around to increase readability and reduce duplication.
ERT-518: Added new analysis module function get_bool
ERT-437: Added set and get functions for many properties of rml module; and a better testing framework for these variables.
ERT-437: Pure whitespace changes.
ERT-437: Removed stale comments.
ERT-437: Many 'trivial' reformattings: name changes; introduced local scopes; moved code lines.