Re-implement casting votes
This functionality was removed as part of removing CashScript dependency. This re-implements it using libauth.
This functionality was removed as part of removing CashScript dependency. This re-implements it using libauth.