Correctly handle nested lists in the motion PDF

See #1217
Add tests for motion PDF and update changelog file
Merge pull request #1237 from rolandgeider/stable/1.5.x

Handle nested lists in the motion PDF without error.
Release 1.5.1
Update version to 1.5.2-dev