use svm toJSON()/fromJSON() for train and test scripts
'test' param for overriding classification function
add svm testing function and test with svm
add svm classification function