run tests on client (on mirror)

add phantomjs package
allow reporter to be used on client or server