API endpoint for voting

Everything in Discourse has API support:

Vote:

curl 'https://meta.discourse.org/voting/vote' -X POST --data 'topic_id=51247'

Unvote:

curl 'https://meta.discourse.org/voting/unvote' -X POST --data 'topic_id=51247'