General purpose ray-tracing and polarized radiative transfer in General Relativity