80-col violations.
tryGetConfigStateFile: return a more informative error type.
Make 'reconfigure' a bit smarter.

Avoid reconfiguring if the package was previously configured with a different
version of Cabal. Fixes #1276.
Merge pull request #1288 from 23Skidoo/smarter-reconfigure

Make 'reconfigure' a bit smarter.