Changes to test bets setup and EC pubkey wire format

* Reduce test bets to ~ 50 for quicker setup and easier dev
* Forward returning id from postgres through event/contract creation
  functions
* Change API EC pubkey encoding validation to 51 chars base58 in lieu
  of base58check utility function
Merge branch 'gustav/contracts11'

* gustav/contracts11:
  Changes to test bets setup and EC pubkey wire format