Only load KQ's attachments when the KQ is going to be rendered

Instead of loading all the attachments when a unit was loaded. This
will reduce the burst of AJAX petitions. And now, if a KQ already has
the attachment data, it won't ask it again.