reorder members in struct lc_cache
Add LCERR

If message is obvious,
we don't write that.
LCERR prints __LINE__ and that's enough.

change var_store
add error checks for sysfs routines.

fix testing script