Added .gitignore
SPI support, small fixes

Added SPI driver based on Fabio Utzig's work, modified
 to support master and slave mode as well
Updated license and whitespace fixes