Changes to Libsvm

This is here mainly as checklist for incorporation of new versions of libsvm.

  * Add copyright to files svm.cpp and svm.h
  * Add random_seed support and call to srand in fit function

The changes made with respect to upstream are detailed in the heading of svm.cpp
