Ensure only parameters are added to SQL widget and no prototype functions.

When an AJAX result is being processed, the parameters will get added
including prototype functions otherwise.
Merge pull request #150 from discordier/fix-sql-params

Ensure only parameters are added to SQL widget and no prototype functions.