[api] Made more sense out of the returned last history item state

This hopefully reflects better what the actual case represents.
Conflicts:
	src/api/app/models/bs_request.rb
[backend] fix typo spotted by Stefan Buehler

We used the old full.cache instead of full.solv.