fixed bug in generator.rb map function for authors, this was causing the total_commits for the authors to be wrong
added calculation of metrics and tests for it