scripts: (battery) support individual batteries

Optionally use the instance property to match individual batteries,
instead of using the first one. 0 (the default if not specified) is
BAT0, 1 is BAT1, etc.

[vd: use default error message with die() and update the default config]

Closes #60