Some additional changes for indexed-db-support.  Makes it so that you can export entity sets by type by allowing you to pass in optional entities to export.