Envelope autocomplete items to workaround shallow copy
Envelope autocomplete items to workaround shallow copy

* jQuery autocomplete seems to do a shallow copy on items passed into
  the autocomplete-popup methods.  This means when the item is selected,
  the object passed to the `select` handler looks like a model instance
  in every way *except* prototype chain / instanceof value.  Wrapping
  the objects in a temporary envelope avoids the issue.

plamut/ggrc-core,plamut/ggrc-core,edofic/ggrc-core,AleksNeStu/ggrc-core,kr41/ggrc-core,VinnieJohns/ggrc-core,kr41/ggrc-core,j0gurt/ggrc-core,plamut/ggrc-core,vladan-m/ggrc-core,andrei-karalionak/ggrc-core,selahssea/ggrc-core,andrei-karalionak/ggrc-core,j0gurt/ggrc-core,uskudnik/ggrc-core,j0gurt/ggrc-core,kr41/ggrc-core,prasannav7/ggrc-core,josthkko/ggrc-core,vladan-m/ggrc-core,hasanalom/ggrc-core,NejcZupec/ggrc-core,jmakov/ggrc-core,j0gurt/ggrc-core,josthkko/ggrc-core,jmakov/ggrc-core,AleksNeStu/ggrc-core,hyperNURb/ggrc-core,jmakov/ggrc-core,vladan-m/ggrc-core,prasannav7/ggrc-core,plamut/ggrc-core,uskudnik/ggrc-core,VinnieJohns/ggrc-core,andrei-karalionak/ggrc-core,uskudnik/ggrc-core,hyperNURb/ggrc-core,NejcZupec/ggrc-core,selahssea/ggrc-core,edofic/ggrc-core,jmakov/ggrc-core,hyperNURb/ggrc-core,hasanalom/ggrc-core,VinnieJohns/ggrc-core,selahssea/ggrc-core,edofic/ggrc-core,jmakov/ggrc-core,prasannav7/ggrc-core,hasanalom/ggrc-core,NejcZupec/ggrc-core,edofic/ggrc-core,josthkko/ggrc-core,vladan-m/ggrc-core,NejcZupec/ggrc-core,hasanalom/ggrc-core,AleksNeStu/ggrc-core,AleksNeStu/ggrc-core,hasanalom/ggrc-core,hyperNURb/ggrc-core,kr41/ggrc-core,josthkko/ggrc-core,prasannav7/ggrc-core,uskudnik/ggrc-core,andrei-karalionak/ggrc-core,hyperNURb/ggrc-core,VinnieJohns/ggrc-core,selahssea/ggrc-core,vladan-m/ggrc-core,uskudnik/ggrc-core