Make poltergeist dependency optional

as per #13 and #10