Fixes for the structure.superimpose and structure.displacement user functions.
This is needed for the new atom_loop() API design.
Authored by: bugman 2012-01-03
Parent: [r15134]
Child: [r15136]