Fixes on WFDB file upload error, on lead count and number of points
Fixes when the header file does not represent the lead quantity.
Merge remote-tracking branch 'origin/master'