Score refactoring

Adding protocol buffers to store scoring "problems" and outcome "answers", plus functions to serialize and parse these.

I'm still working on a minimal example to test this, but thought it would be more useful to submit a pull request in the meantime so I'm not sitting on the code.