wip: profiles
fix lock provider to work anytime it is run
global plugins install to global config directory
fix handle_deps when no deps are to be fetched
start of breaking out test code for ease of checks
fix plugin docs: no longer splitting src and pkg deps in state
revert test changes to rebar.config
only apply profiles to default
add use of REBAR_PROFILE os var to set default profile
switch to REBAR_DEFAULT_PROFILE to make it clear the profile becomes the default for the run
move relx config into rebar config and add prod profile
fixes for dialyzer findings
do not erase deps from opts
remove unneeded add path that breaks with apps/ dir as well
move deps_to_build out of config dict of state
move dir functions from utils to new module rebar_dir
add rebar_dir
set current_profile to default after checking global plugins
Merge pull request #31 from tsloughter/profiles

Profiles