Changed SPI_Init() to allow for the clock polarity and data sample modes to be set. Changed Dataflash_Init() to no longer call SPI_Init() automatically.
Added ShutDown functions for all hardware peripheral drivers, so that peripherals can be turned off after use.