Allow selection of the appropriate target context for ghci invocation.

I took a crack at addressing my previous issue #69.

The target executable can be given via `-t` or `--target`, e.g.

    cabal-dev ghci -t tests

Additionally, if no target is specified, `cabal-dev ghci` will
prefer to use the library target if configured.