Dialyzer to cache results of HiPE compilation

When the `--native_cache` option is specified, cache the results of native
compilation in `~/.dialyze_hipe_cache/ARCH-VERSION`, where ARCH is the
HiPE architecture and VERSION is the HiPE version number.  This can
reduce the startup time significantly.

Also make the compiler obey `outdir` when using the `from_beam` option.