(bug 62824) ParseValue api to return localized errors

NOTE: this does not introduce localized detailed messages yet.
This is pending design & implementation of localizable
ParseExceptions in the DataValues module.

NOTE: error reporting from wbparsevalues is generally awkward,
because it reports an error for each value supplied, and hence
can't use the API's normal error handling facility.

NOTE: localization of API errors is pending an overhault, see
bug 45277.

Change-Id: I5b3e27cbbfd01ed1b724ec480a5470e741da7f4c
Merge "(bug 62824) ParseValue api to return localized errors"