pool together vpi_get_value output buffer
code tidy from review feedback
mask off unused most significant bits in vpi_put_value
test string enumerations and fix issues
move enumerations functions from header to cpp file