Add initial function for pages prep, pend, sign and status

* Add function returning contract state, possibly first updating it by
  calling Bj for unsigned T2 tx.
* Add lhttpc as dependency
Merge branch 'gustav/contracts5'

* gustav/contracts5:
  Add initial function for pages prep, pend, sign and status
Add initial function for pages prep, pend, sign and status

* Add function returning contract state, possibly first updating it by
  calling Bj for unsigned T2 tx.
* Add lhttpc as dependency
Merge branch 'master' of github.com:hdiedrich/mw
dynamic bets lists