Added transactions around Capsd init and Linkd scans.
Updated unit tests to wrap some init in transactions to make sure that
test transactions can see the initial data.
Explicitly set localhost bind address to 127.0.0.1 to avoid flakiness in
InetAddress.getLocalHost() call.
Changed XmlrpcAnticipator so that it retries binding the test WebServer.
This should avoid "Address already in use" errors during testing.
Got rid of unnecessary JdbcFilterDao calls.
Updated Linkd tests so that they use Hibernate-aware DataSources for
JdbcFilterDao calls and use REQUIRES_NEW transactions for initializing data
so that upserts work properly.