added mysql binlog settings and added needed permissions
Tests updated for new pagination.
Merge pull request #21 from GrandLTU/tests

Tests updated for new pagination.
Merge remote-tracking branch 'upstream/master'
Merge pull request #20 from MindaugasR/master

Added mysql binlog settings and added needed permissions