HEX-1855: the /2/Models API failed on Naive Bayes.  Added needed functionality to Naive Bayes, and added a test case for it.