[DO NOT MERGE] bitcoinj 0.10 flavor
use bitcoinj 0.10-SNAPSHOT
adapt to bitcoinj api changes