Merge pull request #4007 from spigad/master

resolve conflicts mmascher wildcards
Convert sitelists to list. CAF-270
Merge pull request #4008 from mmascher/value-error

Convert sitelists to list. CAF-270
added publication flag and jobtype to be insert in database
Merge pull request #4009 from vmancine/master

new database field for publication flag and jobtype
Fixing the interface with panda module
Merge pull request #4010 from cinquo/master

Fixing the interface with panda module
Allow file ending with .n in filemetadata. CAF-298
adding save_logs flag and resubmitted_jobs fields to task entry CAF-291
Merge pull request #4011 from mmascher/lfnoutregex

Allow file ending with .n in filemetadata. CAF-298
Merge pull request #4012 from vmancine/master

add savelogs and resubmittedjobs to task db
Ignore resubmitted jobs in status. CAF-122
Merge pull request #4013 from mmascher/ignore-reubmitted

Ignore resubmitted jobs in status. CAF-122
Fix error in report with huge number of jobs. CAF-294
Merge pull request #4014 from mmascher/report-bug

Fix error in report with huge number of jobs. CAF-294
Resubmit bugs: raise if there are no jobs, use site lists, error for partially submitted tasks. CAF-303, CAF-305
Merge pull request #4015 from mmascher/resubmit-bugs

Resubmit bugs: raise if there are no jobs, use site lists, error for par...
Choose MC or Analysis transformation depending on the jobtype
Adapting rest to new DAO\'s - CAF-302
Merge pull request #4016 from mmascher/MC-Transformation

Choose MC or Analysis transformation depending on the jobtype