Lock phantomjs to the last version that worked with fontface

Thanks @JakeChampion :)
fix stream error handling
fix tests