[SPI] Lots of fixes to memif.
[SPI] Fix incomplete transition from sync to async reset.
[SPI] Untested updates to the tests.
[SPI] Add a top-level module that's an example of tying everything together. Untested.