wallet: clean AllInputsMine code, use InputIsMine internally
wallet: clean AllInputsMine code, use InputIsMine internally

Instead of duplicate the exact same code twice.

mruddy/bitcoin,lateminer/bitcoin,bitcoin/bitcoin,namecoin/namecore,namecoin/namecore,kallewoof/bitcoin,jamesob/bitcoin,mruddy/bitcoin,fujicoin/fujicoin,Xekyo/bitcoin,AkioNak/bitcoin,bitcoinsSG/bitcoin,namecoin/namecoin-core,namecoin/namecoin-core,sstone/bitcoin,fanquake/bitcoin,fanquake/bitcoin,AkioNak/bitcoin,bitcoin/bitcoin,namecoin/namecoin-core,lateminer/bitcoin,fujicoin/fujicoin,fujicoin/fujicoin,sstone/bitcoin,jambolo/bitcoin,jambolo/bitcoin,fanquake/bitcoin,ajtowns/bitcoin,Xekyo/bitcoin,particl/particl-core,fujicoin/fujicoin,namecoin/namecoin-core,jamesob/bitcoin,lateminer/bitcoin,bitcoinsSG/bitcoin,jambolo/bitcoin,sstone/bitcoin,sstone/bitcoin,tecnovert/particl-core,kallewoof/bitcoin,bitcoinsSG/bitcoin,ajtowns/bitcoin,sipsorcery/bitcoin,AkioNak/bitcoin,bitcoinsSG/bitcoin,tecnovert/particl-core,jambolo/bitcoin,namecoin/namecore,fanquake/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,namecoin/namecore,jamesob/bitcoin,fanquake/bitcoin,particl/particl-core,fujicoin/fujicoin,sstone/bitcoin,particl/particl-core,namecoin/namecore,Xekyo/bitcoin,bitcoinsSG/bitcoin,namecoin/namecoin-core,jambolo/bitcoin,ajtowns/bitcoin,sipsorcery/bitcoin,namecoin/namecore,lateminer/bitcoin,ajtowns/bitcoin,namecoin/namecoin-core,tecnovert/particl-core,mruddy/bitcoin,kallewoof/bitcoin,AkioNak/bitcoin,sipsorcery/bitcoin,kallewoof/bitcoin,AkioNak/bitcoin,jamesob/bitcoin,particl/particl-core,lateminer/bitcoin,particl/particl-core,kallewoof/bitcoin,ajtowns/bitcoin,jamesob/bitcoin,sstone/bitcoin,Xekyo/bitcoin,Xekyo/bitcoin,bitcoin/bitcoin,bitcoin/bitcoin,sipsorcery/bitcoin,lateminer/bitcoin,kallewoof/bitcoin,AkioNak/bitcoin,tecnovert/particl-core,ajtowns/bitcoin,bitcoin/bitcoin,sipsorcery/bitcoin,jambolo/bitcoin,bitcoinsSG/bitcoin,particl/particl-core,bitcoin/bitcoin,fanquake/bitcoin,sipsorcery/bitcoin,mruddy/bitcoin,mruddy/bitcoin,mruddy/bitcoin,tecnovert/particl-core,jamesob/bitcoin,fujicoin/fujicoin