Use a named register for visual mode put.

Save and restore both the unnamed and z registers. Using the z register
works around the bug addressed by Vim patch 7.3.411.

Fixes #18.