Merge pull request #119 from RagnarHauge/CRA-505

CRA-706 Wavelet fixes plus changes to make it compile on linux. Note: Unblocked wells are no longer written.
CRA-700, CRA-704 Creating padded grids during reading of files caused problems for cases that are not forward modeling -> these changes are reverted. Also some bug fixes of memory leaks and text output.
Merge branch 'CRA-505' of https://github.com/CRAVA/crava into CRA-505
Merge pull request #120 from enesvold/CRA-505

CRA-700, CRA-704
CRA-708: Fixes handling missingdata in input files for background.
Merge branch 'CRA-505' of git://github.com/CRAVA/crava into CRA-708
CRA-708: Fixed handling of padding when sampling into NRLib grid, and fixed two memory allocation errors in avoinversion.