make logging configurable through options and fix the specs
simplify jdk inclusion
fix erlang builder to use a local ./rebar if it exists