Fix dialyzer to work on rebar

code:lib_dir/1,2 can return archive directory for rebar escript archive
applications, rather than the application's directory in the project.

Add dependencies not listed in `applications` to `dialyzer_plt_apps`.
Fix printing of dialyzer warnings

Fixes cases where dialyzer warning might include a `~` causing printing
to console to fail with `badarg`.
Merge pull request #17 from fishcakez/dialyzer2

Fix rebar dialyzer to work on applications in rebar archive
fix check for plugin being a provider
set REBAR_DEPS_DIR in hooks env and run pre_compile hooks before deps compile
new dep graph working
replace rlx_depsolver use with new rebar_digraph
replace rlx_depsolver types with new package types
include initial verticies in solution list
use digraph topo sort for building
fix git resource update check, bad url comparison
rename functions to be clearer