Use standard error logger instead of log4erl

This is the change I made to use the standard erlang logger instead of log4erl, which has the mochiweb 1.5 dependency. This effectlively gets rid of all dependencies in resource_discovery :)