Fix parsing of stats with sample rate

Also addresses error-reporting of same, which would incorrectly show the
sample rate when it was unable to recognise the stat type

Fixes #2
Add bounds checking on the stat line
Merge remote-tracking branch 'benburry/samplerate-fix'
Moving debian packaging to the debian branch