A generic pagination helper for ember applications