value: update POD functions in Set, Map and Matrix

We update getDouble and getInt in value::Set, Map and Matrix classes.
These functions return POD data: const and & are unnecessary.