Fixed small bug in last commit.
Added delete cache closures for link dao multi gets.
Fixed a few bugs.
Corrected cache destruction on delete record, it no longer flushes *all* cache (that's a really inefficient thing to do).