changed the way phantom process is killed

that was needed because only node child processes can be disconnected (I
think?)
fixed issue with images not being loaded properly

The proper phantomjs handler needed to be used to guarantee that all the
images have loaded before calling the callback