[stm32][spi] Fix for SPI driver to handle different lengths of tx and rx buffer. Note that tx buffer length MUST be greater than or equal to the rx buffer length in each transaction. Attempt to solve Issue #348. Also fixed DMA transfer length for using 16bit spi data lengths, untested. Some blocking WHILE loops that maybe need to be fixed.
Merge pull request #367 from scdwyer/master-fix_stm32_spi

Fix for SPI driver to handle different lengths of tx and rx buffer.