Added method getOutputString

When the publish method is called it will print out the string returned
from getOutputString. This is so the console output can be tested in a
JUnit test by calling the new method.
Merge branch 'master' of https://github.com/Grupp2/Othello