Added voting urls. project/PK/rate/[1,2] for up/down
Fixed math error on vote count function.