[MIN] Minor rewritings
[MIN] IntList: convenience function added
[MIN] Minor rewritings
[MIN] Tests: test renamed
[MIN] Minor optimizations in utility classes.
[FIX] Storage: only store used bytes in last block. #970