Test options
Refactor command-line option processing

Add SolverApp class and move solver application functionality from Solver to it and SolverAppOptions class.