Move run method to server prototype

This adds the mocha helper method to the server prototype so it can be
run from both the server instance as well as the factory instance.