Merge pull request #145 from luisuribe/master

Adding missing curly brace
Fix xz command to be script readable and always have size in bytes: xz --robot -l %f | grep totals | awk "{print $5}"
Fix tsung output
Merge branch 'master' of github.com:dalibo/pgbadger
Update pgbadger

Make it possible to do --sample 0 (prior it was falling back to the default of 3)
Add tsung xml header sample to output file.
Merge pull request #147 from wmorancfi/master

Make --sample 0 work
Fix pull request 147 to completely remove error example part when --sample is set to 0.
Fix incomplete lines in split_logfile to rewind to the begining of the line. Thanks to brunomgalmeida for the patch.
Simplify and fix the patch on incomplete lines in split_logfile. Thanks to brunomgalmeida for the patch.
Fix missing -J option in usage.
Add unit (seconds) to checkpoint write/sync time in the checkpoints activity report.
Fix queries that exceed the size of the container.
Add new detail information on top queries to show when the query is a bind query.
Histogram granularity can be adjusted using the -A command line option. By default they will report the mean of each top queries/error occuring per hour, but you can specify the granularity down to the minute.
Allow pgbadger to parse remote log file using a passwordless ssh connection.
Fix wrong connections per host count. Thanks to Herve Werner for the report.
Fix Sync time value in Checkpoints buffers report. Thanks to Herve Werner for the report.
Fix error details in incremental mode in Most Frequent Errors/Events report. Thanks to Herve Werner for the report.
Fix label on tips in histogram of errors reports.