Fix advanced search when search wordth1 & wordth2

For example. When you use the advanced saearch in listiews or in a report and enter this.
Food & Beverage, the filter just look for the wordth Foot the rest disappear.
We do the same that do the basic search, call to encodeURIComponent.
Import and add picklist values correctly.

When you import a csv with picklist values with & or another special character, is not imported
correctly, save the new value if not exist in the picklist like &amp;
Fix correct view and saved of picklist values
fill account/contact when creating invoice from potential
fixes #242: Query Error accessing Detail View after global search
Remove IE6 bug workaround

This workaround causes some problems on some browsers (at least Firefox
33). The file is also streamed to lower memory usage with big files.
fixes #243: time zone issue under comments information of FAQ and Trouble Ticket
Contact and Product Image, are not mandatories.

If we have this fields in $mandatory_fields array, after we can edit their properties in
Layout Editor. And if for accident you try to save the properties for these fields the typeofdata
to M was forced
fixes #244: javascript error when trying to import a module with no mandatory fields
fixes #245: When using reference fields in update field workflows, the internal id value is returned
Merge branch 'master' of http://github.com/tsolucio/corebos
code cleanup and formatting
fixes #4668: Detectado un problema con los filtros de fecha en informes. code formatting
report retrieve incorrect rows when date field added that contains ampersand: http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7362
support currency field in formula expressions
change targetbudget field type to number on project
update language files with missing labels from commit 8bf54cdc
command line module export helper scripts
some smtp gateways do not accept empty emails in the form of two or more commas when sending to multiple emails. this is easy to appear in workflow email task so this patch checks for this case and makes sure that two or more commas are not sent
custom field patch