sample_store: Really fix indexing this time

Reads and writes need to respect page boundaries and erases need to
erase the correct sector
sample_store: Rework around new transaction interface