Implement copying of Pen objects.

- Remove Pen.undo(), as this replaces all of its use cases.

- Change combined Paper.elements into two lists, paths and
  text_elements.

- Use Pen.last_path() and last_segment() more often.