Update position table and user score

This PR updates result hook to update positions table and user scores when match has finished

Refs #28 and #30