Added vote submission endpoint

The REST api should be completely ported over from the old php scripts
with this commit. Additional work needs to be done to pass along
identifying values for photo ownership