More support for apps and use rebar direct rather than makefiles if rebar.conf exists in them