Remove AeroGear.ajax and move functionality into Pipeline and Auth. Fixes AEROGEAR-916 and AEROGEAR-917