Remove AeroGear.ajax and move functionality into Pipeline and Auth

This PR should be compared to #21 and the best solution of the two should be merged.