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 have touched the same pieces of functionallity). Only view part is left, plus fixes to make REST API more consistent. Also logging framework was added.