Code clean-up: generic type arguments, clean-up of option handling.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10366 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Merge remote-tracking branch 'upstream'