BF + DOC: Cleaning up some old cruft and adding documentation for RESTORE.

Also, py3k compatibility for the dti module.