[SPARK-1406] Mllib pmml model export 

See PDF attached to the JIRA issue 1406.

The contribution is my original work and I license the work to the project under the project's open source license.
Why are these 3 vars?