spacecmd: handle erratas similar to packages (offer _diff and _sync functions)

and also 2 other minor improvements.