modified apps search (not only ebin directories are now included, latest versions of apps are now used); added apps reolve tests;
added source roots to 'include' search path;
cleanup after merge