api: bump version, but allow name/desc/algo to be missing when adding pool details.

This will have unintended consequences, since API clients are sure to
send pool details without name/desc/algo. pooldetails() will allow them
to do that, and add_pool_details() will fill the pool structure with
NULLs.
api: check if name/desc/algo are NULL and fill with defaults if so.

Defaults should probably be specified elsewhere.
There should be a constructor for stuff like this.
This shit is really bringing me down.