Add phantom and qrencode dependencies to travis