Capture rusage stats on executorStart.
Handle writes per database.
Fix indent and whitespaces.
Merge pull request #6 from rjuju/fix_stat

Fix stat