Blacklisting gh-pages fix

Ignore the 'gh-pages' branch as per #3073. Modified the github driver to... not add 'gh-pages' to getBranches(). Added a test case with a repo that has a 'gh-pages' branch.