Support switch template instructions
A switch variable can have multiple values
Move include/rebar.hrl to src/rebar.hrl

rebar.hrl is only meant to be used by src/*.
Add qualified name tests specification (see #118)

Augment 'tests' option of 'rebar eunit' command with ability to specify
tests to run using module-qualified names. This change also forced me
to change the way modules for coverage and for testing itself are
selected - module-qualified tests specifications are now taken into
consideration. Extend tests to cover new functionality. Update
dialyzer_reference accordingly.
Fix a format of a debug output
Fix spec file look up

When trying to skip spec files under deps/ directory,
ignore "deps" component which is also included in Cwd.
For example, "/home/deps/src/myapp/test/cover.spec"
contains "deps" component but should not be skipped if
Cwd is "/home/deps/src/myapp/".
fix double "the" in a comment

noted by @tuncer
use the effective deps dir instead of hardcoding "deps"

suggested by @tuncer
Regression test for #249
Fix #249 (erlc regression)

The combination of changes to rebar_erlc_compiler, and the fact
that erl_first_files is inherited, caused a regression. To fix
that, ensure every project uses its own .rebar/erlcinfo. While at
it, fix the issue that erl_first_files entries were not included
when initializing the dep digraph.

Reported-by: Louis-Philippe Gauthier
Reported-by: Roland Karlsson

Thanks: Tuncer Ayaz
Add REBAR to environment before executing hooks

REBAR will be set to the rebar binary which was executed and runs the
builds. Enables the use of the same binary for rebar invocations as
part of a pre or post hook like so:

    ${REBAR} escriptize
Local corrections on string processing:

* Corrected regexp: `[x|y]` -> `[xy]`.
* Used an re:replace/4 option instead of multiple IOlist functions.
Rebasing. Fix differences with c26b0c7 c996e98 b690842.
Merge pull request #119 from deadok22/qualified-test-spec

Add qualified name tests specification (see #118)
Merge pull request #171 from fenollp/using-stdlib

Some optimisation/refactoring using stdlib's functions
Merge pull request #229 from tolbrino/tb-patch-env

Add REBAR to environment before executing hooks
Merge pull request #130 from yamt/ct-fixes

ct fixes
Merge pull request #281 from tuncer/rebar-h-internal

Move include/rebar.hrl to src/rebar.hrl
Revert "Merge pull request #171 from fenollp/using-stdlib"

This reverts commit 3297ffec2c89c6b7135165b4bfaeaeb07167c33c, reversing
changes made to 0401debb3cf23d67affbe465a7a438049180a608.
Add code coverage analysis functionality to `qc'

- Use `cover' with QuickCheck testing
- Reuse the `cover_*' rebar.config options
- Refactor cover-related code to separate module (`qc_cover_utils')
  for use with both `eunit' and `qc'