OmegaWikiRecordSets.php

replaced database query function with select, and creating the class with
static functions replacing regular functions involved. added some
documentation and cleaned the file from trailing spaces.

Change-Id: I42ffcf2d7fe5328395553d2da735deaedddb2d76
Merge "OmegaWikiRecordSets.php"