AST-529 Add generic SolverFactory
- Move the existing solver initialization code from DDECal to a new SolverFactory.
- Use templates in the SolverFactory: The regular and BDA solvers share most initialization code.
- Test that the SolverFactory creates the proper solver type with the proper settings and contraint types.
Edited by Maik Nijhuis