Do some simple refactoring of the post command.

This change does some cleanup that struck me as I was reading through the post
implementation. I've moved the score matching out into a new utils file, and
rearranged/commented the argument evaluation a little bit.

Testing done:
* Ran unit tests
* Posted a change

Reviewed at https://reviews.reviewboard.org/r/5118/