60% of functionality for 'paged view' of organizations index page was implemented

This pull request was issued to simplify furher integration (as far as i know a few ppl has touched the same pieces of functionallity). Only view part is left, plus fixes to make REST API more consistent.