Only remove last comma when there are series
Update DTD to 7.0.0 version
Fix bug when retrieving a max number of builds
#1 Support new versions of Jenkins where 'passCount' variable is not present. Instead 'totalCount' appears