First crack at Electrum deterministic wallet code.