Updates to kernelrlswrapper and traintest

kernelRLSwrapper now correctly skip kernel computation for primal case.
added perf messages to traintest.hpp
added try-catch block in traintest_demo.cpp