Examples: fix missing import and Type mismatch
User no longer needs to import SVM.base
Since libsvm re-uses stuff from the problem instance, we cannot free the problem before the model. This is hopefully accomplished with Foreign.Concurrent.newForeignPtr and explicit free's on the stored objects. Atleast valgrind is happy and no segfaults appear.