Logging improvements to cuttlefish

Added the ability to pass a log level to the escript

added a log message for errors caught when running translations

also fixed a bug @vinoski found when trying to add an erlang application to the advanced.config, which is completely unknown to the generated config.