WIP: Various improvements to configure.

- Clean up various minor sections of the code.
- Improve compiler detection.
  - Check the CXX environment variable inside find_compiler instead
    of doing it separately.
  - Use a test file instead of checking for version output. This
    ensures we are using a working compiler.
  - Pipe the output through run_test which makes debugging problems
    considerably easier.
- Remove OpenSSL and GnuTLS detection plumbing.
  - This will soon be the job of modulemanager.
  - This did not work in non-interactive mode unlike --enable-extras.
- Rename --uid option to --runas.
  - Take a user name instead of a user id.
  - Check that the user exists.
- Rework the question flow in interactive mode.
  - User is no longer asked questions unless they want them
  - Socket engine questions have been removed.