Lock around bootstrap tools callback caches

Auditors: benjy
Write out ivy.xml for IDEs during IvyResolve

Auditors: benjy