added ebin directories to application search path;
added include/ directories to include search path;
small cleanup