Complete rewrite to make imports instant

uses raw transactions and dogechain api instead of manually scanning the
block chain.