Logs to queries

A bulk improvement for the function LogSolution.logToQueries which produces 6092 instead of 3797 query on a sample log file 2010-05-28.log, although the only-complex-queries is set to true, which means this is most probably the lower pound.

This is done by mainly chaining the stripping method of the log format, then improving the parsing method with Jena, by trying to amend the query before returning it as a false query. Check commit messages.

A more test maybe needed for the whole log files. I'll do this some time later, as it might take couple of hours for the run to complete.