Implemented the spin.rename() user function.
Authored by: bugman 2007-11-18
Parent: [r3564]
Child: [r3566]