Updated grid.py to work with comments.

Instances with comments at the end, preceded by #, should now also
be accepted by grid.py. This overrides libSVM's svm_read_problem
function in svmutil.py.