(cherry picked from commit a3bb3f13902638ee38f85c25c57d68b34b33bfbc)
This commit sets a different way of handling SAGA versions and a new way of checking saga installations This is done to fix the messy situation that SAGA causes due to its API changing in each release.