Rely on pjax rails

Rely on higher abstraction dependencies to avoid repetition.

This is a rebased version of recently closed #323