fixing creation of file based layer
  - added option to use eagerfields in getentitiesbyids
  - eagerfields will get a JOIN FetchMode