Updated use of certainty

Certainty (now between 0 and 127, inclusive) can be converted to and
from a percent (between 0.0 and 1.0 inclusive).
Updated demo-client/MapPanel to use new bounded values of certainty.