maint: prepare lib/std/list.lua for deprecation-apocalypse!

Almost half of lib/std/list.lua is only there to take care of
warning about deprecated usage.
* lib/std/list.lua: Group all deprecation support code in one
huge block ready for quick and easy annihilation in due course.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>