Merge pull request #1019 from Eric-Brison/3.2-I4290

Encode some layout variables - use Layout::eSet (closes #4290)
Set default .htaccess when creating a new vault (refs #4307)
Updated TOOLBOX_*.po (refs #4307)
optimize seems_utf8 (refs #4304)
encode args for resizeimg.php (refs #4304)
more verification before resizing image (refs #4304)
correct double return of search when query fail (refs #4303)
add exception in SearchDoc::join() (refs #4299, refs #4300)
also generalize exception to addGeneralFile
correct searchDoc count cache (refs #4305, refs #4302)
correct count for recursivesearch (refs #4195)
Merge pull request #1022 from Eric-Brison/3.2-I4300

Correct some error  in SearchDoc (closes #4299, closes #4300, closes #4303, closes #4195, closes #4305)
Merge pull request #1023 from eguaj/3.2-A4307

Set default .htaccess when creating a new vault (closes #4307)
add Account const instead define (refs #4309)
correct inline arg (refs #4282)
correct export profil for extended acls (refs #4221)
Merge pull request #1024 from Eric-Brison/3.2-I4309

add Account const instead define (closes #4309)
Merge pull request #1025 from Eric-Brison/3.2-I4221

correct export profil for extended acls (closes #4221)
Merge pull request #1026 from Eric-Brison/3.2-I4282

correct inline arg (closes #4282)
3.2.12
correct only BASE search (refs #4276)