(WIP) Use full error messages for relations validation.

https://www.openproject.org/work_packages/13948
@mtakac actually thinking again there must be something that's broken. I will have a look through.