Fix the shell's runtime profile test to be more robust.

This patch uses a regex rather than a raw string to search for unique query profiles in
the shell's output.

Change-Id: I5c0c2dc30ad6d9a14e5c35177f5a494445b7cc7c
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5381
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>
Tested-by: jenkins