choose default solver based on compiler version
GHC-6.12 has base-3 depending on base-4. This is a situation the topdown solver is hacked to deal with, but the new modular solver currently doesn't support it. We therefore switch back to the topdown solver if a GHC version before 7 is detected, but switch to the modular solver by default in all other situations.
Showing with 47 additions and 25 deletions