Merge pull request #27 from dmonllao/count_log_writes

Include log writes as db writes
#14 Allowing multiple remotes

To fetch from both origin and integration
for example.
Fixing re-declaration and wrong comparison

Also displaying more feedback when a wrong branch or
hash was provided.
Fix regex that gets the siteversion

Getting only the first regex match and including .XX
also applying the same 1 line limit to $sitebranch.