Made cqerl_batch use proc_lib/sys

so it is debuggable and produces crash reports when things go wrong