#111 changing Spi class API
- the RW method now uses short array instead of byte arrays
- updated other c sources to be able to compile
- changed dependant classes on Spi to cope with new API (no more length
  arg and returning short array rather than int result)