Add missing title attribute to selectable title

Always display full, untruncated title.

https://www.openproject.org/work_packages/8283
https://www.openproject.org/work_packages/8457