Add sparse matrix support for CachedFunction.
Fix allclose() check for sparse matrices.
Add getTypeIdOfConstraintsList() for improved plugin validation.
Fix some hardcoded dense typedefs.
Add name demangling when throwing a runtime_error.
Merge pull request #13 from bchretien/master

Add sparse matrix support for CachedFunction and improve plugin check