Add random search heuristic

The random heuristic selects a variable at random.
It is mostly useful as a baseline for benchmarks.
castord: Fix results mimetype

The default mimetype should be application/sparql-results+xml.
Only when the -x option is specified should the mimetype be
application/xml.
castord: Escape strings in results