Values: Have value.pack() throw invalid_argument instead of bad_cast.
Python: Add python bindings for Value.