user-type.hpp: add doc for setitem and getitem + minor changes

10 jobs for pr/240 in 15 minutes and 27 seconds (queued for 1 second)