unit tests on 'buildslave upgrade' command

Added unit tests on buildslave.scripts.upgrade_slave.upgradeSlave().

* test that older buildbot.tac files are updated correctly
* test that modern buildbot.tac files are not changed