Changed interfaces of core.api a little
Changed related names to be more developer friendly
Fixed wrong relations of vote tables
Added summary column to caculate conts of up/down votes
Added list of comments for page detail view