Phase diagram of a spin-1 quantum Ising model with dipole and quadrupole interaction