ensure hash function does not return negative value
initial fix of lower-case ASC/DESC problem in sort physical plan
if no entry for endpoint, update metrics with 0.
fix NPE in ProtoMap (hazel cache)
improve command line parsing for submit_plan tool