Squashed patch for issues 1059 1115 1091

This is a candidate for Rel5 RC2.  It removes ES dependency from the EDW synching script, adds much better reporting and adds the paired_end information from EDW to files.