Add `$state.getAll()`

`$state.get()` is insufficient for introspecting the entire state table, `getAll()` returns the entire table in one call (useful for debugging lazy-loaded states, for example).