Allow user to only rate a post once

Only allow a user to rate a post once.

The database query for this work is not ideal, however we can not do the `xpath` checking SQL with __hsqldb__. 

Personally I'd prefer tested, working, and slightly suboptimal code than optimal code of unknown state.

Fixes #158