updated rakefile with new function to handle each repo, and build master and recent branch, #3