keyword matcher; match to end of line

fixes unecessary quoting based on left-hand match only (e.g.
atorvastatin)
bel_upgrade; replacement value fixes

sequence for parameter namespace / value replacement is as follows:

1. Replace value using existing namespace prefix.
2. Change namespace if redefined (e.g. prefix in 'redefine' hash).
3. If (2), replace value using new namespace prefix.