New: On contact list can set filter on both active and not active (no
more exclusive select).
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
Qual: Uniformize code. Trigger PROJECT_BUILDDOC is removed because
building a doc is not a business event. For technical action after
creation of a pdf, hook "afterPDFCreation" must be used instead.
Revert "Fix: define new ref before trigger"

This reverts commit 6ab41766c864f2de8980f0d9bd87805d40bb4e3e.
Fix: Setting new property of object must be done only after all database
actions are ok (and if ok).
Merge remote-tracking branch 'upstream/develop' into develop