[SPARK-2433][MLLIB] fix NaiveBayesModel.predict

This is the same as https://github.com/apache/spark/pull/463 , which I forgot to merge into branch-0.9.

Author: Xiangrui Meng <meng@databricks.com>

Closes #1453 from mengxr/nb-transpose-0.9 and squashes the following commits:

bc53ce8 [Xiangrui Meng] fix NaiveBayes
[SPARK-1112, 2156] (0.9 edition) Use correct akka frame size and overhead amounts.

backport #1172 to branch-0.9.

Author: Patrick Wendell <pwendell@gmail.com>

Closes #1455 from mengxr/akka-fix-0.9 and squashes the following commits:

a99f201 [Patrick Wendell] backport PR #1172 to branch-0.9
[branch-0.9] Fix github links in docs

We moved example code in v1.0. The links are no longer valid if still pointing to `tree/master`.

Author: Xiangrui Meng <meng@databricks.com>

Closes #1456 from mengxr/links-0.9 and squashes the following commits:

b7b9260 [Xiangrui Meng] change tree/master to tree/branch-0.9 in docs
[branch-0.9] bump versions for v0.9.2 release candidate

Manually update some version numbers.

Author: Xiangrui Meng <meng@databricks.com>

Closes #1458 from mengxr/v0.9.2-rc and squashes the following commits:

2c38419 [Xiangrui Meng] Merge remote-tracking branch 'apache/branch-0.9' into v0.9.2-rc
7d0fb76 [Xiangrui Meng] change tree/master to tree/branch-0.9 in docs
ea2b205 [Xiangrui Meng] update version in SparkBuild
162af66 [Xiangrui Meng] Merge remote-tracking branch 'apache/branch-0.9' into v0.9.2-rc
bc87035 [Xiangrui Meng] bump version numbers to 0.9.2
[branch-0.9] Update CHANGES.txt

Author: Xiangrui Meng <meng@databricks.com>

Closes #1459 from mengxr/v0.9.2-rc and squashes the following commits:

6fa5a65 [Xiangrui Meng] update CHANGES.txt
[maven-release-plugin] prepare release v0.9.2-rc1
[maven-release-plugin] prepare for next development iteration