phantomjs + tape

Drop phantomjs + mocha and switch to straight phantom + tape for client side tests. Refs #409.