Correctly unlock the previously locked value in addmdocs() (refs #3883)

A lock was not properly disposed, thus preventing adding more than one element
in a multiple attribute.
Corrected duplication of array's rows containing multiples docids (refs #3883)
use only one session variable dcpsession (refs #3894)
Merge pull request #799 from Eric-Brison/3.2-A3894

use only one session variable dcpsession (closes #3894)
delete name index on session (refs #3894)
compact param all query (refs #3894)
Merge pull request #800 from eguaj/3.2-A3883

Corrected duplication of array's rows containing multiples docids (closes #3883)
Merge pull request #801 from Eric-Brison/3.2-A3894

optimize for param all (fixes #3894)
Add jquery dialog instead of viewdoc (refs #3888)