Numerous updates and bug fixes

support for calltime per queue, custom fields, addition of carrier cdr
download scripts, updates to auto detection and provision, and numerous
other fixes/additions