Analysis: update ThaiAnalyzerProvider to use custom stopwords setting

Modified ThaiAnalyzerProvider so it is now possible to set stopwords for the thai analyzer in index settings.

Issue: #3342