Added a new section about testing.
Extracted the prepareData function into the cctray module.
Started to extract the commit detail logic into commitDetails.js

+ fixes #2