Improve error message for invalid field accesses

fixes #8079
Make sure that Value::IsEmpty() returns true for empty strings

fixes #8018
Fix integer overflow in len()

fixes #8041