Merge pull request #49 from eulerto/master

cosmetic patches
Remove port from the session regex pattern to match all lines.
Add 'binary' format as input/output format

The binary output format allows to save log statistics in a non human
readable file instead of an HTML or text file. These binary files might
then be used as regular input files, combined or not, to produce a html
or txt report.
Merge pull request #50 from ioguix/storable

Add 'binary' format as input/output format
Fix populating of %_error_info.
Fix a performance issue on prettifying SQL queries that makes pgBagder several time slower that usual to generate the HTML output. Thanks to Vincent Laborie for the report.
Remove duration from log format auto-detection. Thanks to Guillaume Lelarge for the report.
Fix memory leak with option -b (--begin) and in incremental log parsing mode.
Add report of user,remote client and application name to all request info.
Add report of requests per database.
Add link menu to the request per database and limit the display of this information when there is more than one database.
Add report of number of queries by application if %a is specified in the log_line_prefix.
Queries without application name are stored under others application name.
Update documentation.
Add better SQL formatting of update queries by adding a new line after the SET keyword. Thanks to pilat66 for the report.
Force the parser to not insert a new line after the SET keyword when the query begin with it. This is to preserve the single line with queries like SET client_encoding TO "utf8";
Display 3 decimal in time report so that ms can be seen. Thanks to Adam Schroder for the request.
Fix issue in SQL formatting that prevent left back indentation when major keywords were found. Thanks to Kevin Brannen for the report.
Add missing SQL::Beautify paternity.
Clarify misleading statement about log_duration

log_duration may be turned on depending on desired information.
Only log_statement must not be on.