TQFT and categorified sheaf theory