added efun doc for all_inventory

The function has a doc on nuke but not on 2.4.5 - so I used nukes
version.
added allocate_mapping sefun

its a dummy function that does nothing but return an empty mapping,
since mappings no longer need to be allocated to be initialized.  Added
for backwards compatibility.