solver: non preferred actions are worse then non preferred pinning
Otherwise we might start to change packages unexpectedly when not upgrading. This also fixes some other things the solver might've decided to do. Add also few test cases to detect bad behaviour.
Showing with 55 additions and 6 deletions