Fixed a bug in validate_old_value
Added add/rm index
started list_subspaces
Added language bindings for list_subspaces
Added list_subspaces