Show author statistics for the selected branch. Fixes #11

This makes `getAuthorStatistics` take a parameter called `$branch` much like the other functions, so the statistics returned are specific to that branch rather than always being based off the head.