Reorg the FFI/no-FFI decision

Make it a cabal flag and centralize the conditional on ghcjs.
Generate C and Haskell deBruijn tables

From Python because it's likely to be everywhere and Cabal makes it
annoying to write a pre-build code generator.