added null checks.

added null checks to stem, stripStopWords, countWords, metaphoneMap  and metaphoneArray.

exports.words returns null in case it is passed the string `"<-- ."`