spiv: cfg: Two fixes.

* Fix opt_by_key() SegFault on config entry without key or name space

* Fix read_key() to stop on '='
  (so that parsing key=value (without spaces around the '=') works too)

Signed-off-by: Cyril Hrubis <metan@ucw.cz>