(iOS) Added voting functionality.

Now able to send votes by using json objects
Fixing merge conflicts