erp5_core: Make two queries in Base_getRelatedDocumentList

For two reasons:
- In previous version, query would lose Embedded Documents, lacking a left join in follow_up_uid
- In large instances the previous version was many times slower

Also,
erp5_dms: Add a test for Base_getRelatedDocumentList

To check it works correctly with both related (follow_up)
Documents and with sub-object Embedded Files
4 jobs for for_testrunner_1 in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

01:14:33

passed ERP5.PerformanceTest-TestRunner1

00:23:13

failed ERP5.UnitTest-TestRunner1

failed ERP5.UnitTest-TestRunner1

02:10:12