API Usage : correct optional elements (refs #3284)

Correct function declaration
Correct function call
Correct optional keyword in comment (refs #3284)
Merge pull request #620 from cbonnissent/3.2I3284

Correct optional typo
need datajs for documents tab (refs #3497)
use DocSearch in exportfld and add a status in web interface (closes #3466)
Merge pull request #621 from Eric-Brison/3.2-A3466

3.2 a3466