Implemented severside sorting and pagination for journal entries

Reference UI is also ready,waiting for https://github.com/openMF/mifosx-community-apps/pull/151.