* [LOD_BASKET,NEW] Rewrite the states in which a datadocument can be during LWM processing: pending, unpacking, unpacked, cleaning, cleaned. Also: added.
* [LWM_CLEAN,LWM_UNPACK,FIX] Store file extension.
* [LWM_UNPACK,NEW] Rewrote the way in which file unpacking is handled.