improve memory usage in quadgk integration method
Linear operators redesigned (log-det)
Merge pull request #1403 from votjakovr/feature/numerical_integration

Improve memory usage in quadgk integration method
Merge pull request #1404 from lambday/feature/log_determinant

Linear operators redesigned (log-det)
use forward declaration for RefCount and fix name clash ref_count() vs ref_count
use forward declarations for RefCount also for other base objects
Fix malloc replacement detection and library flags
Fix FindHoard.cmake script
Fix typo in FindRubyNArray.cmake
fix build errors / warnings
Made refcounting in SGObject use the RefCount class