refactor: concentrate all libsolv solver initialization into the static solve().

decisions about when to disable installonly etc. can easily take place there.