Update Ransack::Constants#escape_wildcards

This updates Ransack::Constants#escape_wildcards to escape dots (.) as
well in order to bypass rails/rails#950.