Compile non-OTP apps

This pull request allows rebar to 'compile', 'doc' and 'eunit' non-OTP projects (no '.app' or 'app.src' file). Adds eunit tests