Write small Configure program to output config.h
Run configure script from build

Change build type from Simple to Custom so as to have Setup.hs run;
rename previous commit's Configure.hs to Setup.hs and re-work it as a
postConf hook in defaultMainWithHooks.
Add source-repository section to .cabal file