* add check, that it is an elixir app
add default start function
add possibility of autodetection of tetrapak plugins
Merge branch 'master' of git.tpip.net:tetrapak into plugin_support
add match_files/2 function as lib function
rename create -> new
add .arcconfig
Merge branch 'master' of git.tpip.net:tetrapak
Merge branch 'master' of git.tpip.net:tetrapak into plugin_support
add clean:test to delete a compiled test files
* ddd possibility to decide for application, that plugin needed(
with -reqire(<plugin>) option, and possibility to swich off automatic 
detection
* delete elixir reference / add app callback for deciding, that this folder app
or not
add app/0 to behavior / delete warnings
require check before pkg:debsrc modified:   src/tetrapak_task_pkg_deb.erl modified:   tetrapak/config.ini

Summary: Since our packagebuilder does checks before building, we need to do the checks as well before packaging.

Test Plan: no test plan.

Reviewers: aschultz, druss, tbreddin

Reviewed By: druss

Differential Revision: https://review.tpip.net/D35
handle included_applications for dependencies

Summary: handle included_applications for dependencies

Test Plan: build xray

Reviewers: tbreddin, hsychla, druss

Reviewed By: tbreddin

Differential Revision: https://review.tpip.net/D76
clean the working tree before building the source

Summary:
clean the working tree before building the source

revert and fix D35, to repeat my comment from there:

> pkg:debsrc should IMHO depend on clean and not on build. depending on build causes unwanted files to be included in the src only files (a good example is xray that due to this change includes extjs twice).
>
> Running the build and check steps is the responsibility of the packager!

Test Plan: build and run

Reviewers: druss, tbreddin, hsychla

Reviewed By: hsychla

Differential Revision: https://review.tpip.net/D77
update changelog
fix common_test return value handling

Summary: fix common_test return value handling

Test Plan:
run tetrapak test on any application and check tetrapak return value when all test pass,
e.g.: "tetrapak test; echo $?" should return 0, before it always was 2.

Reviewers: tbreddin, druss, hsychla

Reviewed By: druss

Differential Revision: https://review.tpip.net/D83
remove ct compile .beam files on clean

Summary: remove ct compile .beam files on clean

Test Plan: tetrapak test clean; ls test/*beam should be empty

Reviewers: tbreddin, druss, hsychla

Reviewed By: druss

Differential Revision: https://review.tpip.net/D86
fix detection of project files

Summary:
after cset #270c2425, tetrapak would only work if a .app.src file
was present, however pkg:debsrc build an .app file and does not
ship the .app.src file with the source. tetrapak therefore has to
work when only the .app file is present.

Have the task logic check for both, .app.src and .app file and
simplify the check at the same time.

Test Plan:
* run: tetrapak pkg:debsrc
* in a new directory do
    deb-source -x <pkg>.dsc
    cd pkg
    tetrapak build

with old version it fail, with new is should succeed

Reviewers: druss, tbreddin, hsychla

Reviewed By: druss

Differential Revision: https://review.tpip.net/D84
run tests when running on a debian builder

Summary: run tests when running on a debian builder

Test Plan: build a debsrc package, push to pkgbuilder and watch it fail it's unit tests

Reviewers: tbreddin, druss, hsychla

Reviewed By: druss

Differential Revision: https://review.tpip.net/D85