getpaste: code clean up

Make some imports global; those are available nearly everywhere LWP is.