Merge pull request #1945 from pl8787/develop

For #1935 LibLinear unit test added.
revert the changes of 56ceab6 for main_unittest.cc
Solve memory leak problem, but uninitial values jump problems didn't fixed. I need help~