remove unneeded add path that breaks with apps/ dir as well
move deps_to_build out of config dict of state
 API for Plugins (solves #22)

- includes logging macros and turns them to functions
- exports customized types
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
Merge pull request #32 from rebar/plugin-api

 API for Plugins (solves #22)
Initial tests for dependency resolving

- Reworked the helpers for existing suites and expanded them
- Created a mock git resource module to test for its dependency fetching
- Added a test suite for dependency resolving with first checks for
  common cases (https://gist.github.com/ferd/197cc5c0b85aae370436)

Left to do would include:

- Verify warnings
- Verify failures
- Verify dependency updates resolving
Merge pull request #33 from rebar/test-dep-choice

Initial tests for dependency resolving
only read in rebar config and lock of dep if needed
change name of config for where project apps lib to project_apps_dir
Handle more ct_run return values.
Merge pull request #38 from omarkj/omarkj-support-ct-repeates

Support a list of ct_run results
Merge pull request #36 from tsloughter/config_reading

only read in rebar config and lock of dep if needed
Merge pull request #37 from tsloughter/lib_dirs

change name of config for where project apps lib to project_apps_dir
change name of config for where project apps lib to project_apps_dir
merge over rebar2 PR #401
Merge pull request #41 from tsloughter/rebar2_401

merge over rebar2 PR #401
only create the apps dir after successful fetch