Add a PeerGroup.waitForPeersOfVersion API and add unit tests for the waitForPeers* methods.
Refactor TestWithPeerGroup a bit to make it more reusable in apps.
Add some JavaDocs to FakeTxBuilder
Add some convenience methods to Transaction for signing.
PeerGroup: return the peers that match the requested protocol version in waitForPeersOfVersion.
Reformat log messages in DnsDiscovery and add one log message for the success case, to make more clear what's going on.

Also, rename hostNames to dnsSeeds as this name is more speaking for itself, and is used in other places as well.
Correctness fix: compare nBits directly not in BigInteger form as nBits has multiple non-canonical encodings.
Refresh wallet-template checkpoints file.
BuildCheckpoints: compare strings correctly.
Wallet: keep risk dropped txns around in RAM and don't miss them when a Bloom filtered block includes them. Resolves issue 545.
Don't crash if there's no logging handler installed.
Upgrade scrypt library.
Wallet: throw more appropriate exception types during completion.

Resolves issue 560.
Keep opcode in ScriptChunk representation of scripts. The goal is to know how data was pushed and be able to apply malleability rules. All unit-tests pass.
Include PUSHDATA opcode in Script.toString(). Also, smallNums are printed in their decoded form.
Moved nBits fix into NetworkParameters