Host: various fixes related to token storage and API
- Remove IDs of attached sectors from temporary storage before modifying contract to prevent race and removing contract sectors by temporary storage
- Check storage resource and presence of requested sectors in
AttachSectors
under stateMu - Remove
KeepInTmp
flag for now, because we can not implement it correctly yet - Fix buggy integration tests: pass correct sector IDs to
AttachSectors
method - Fix checkExpiration function
- Ignore nonexistent sectors in
RemoveSectors