Spi fixes

* adds bus claim and release for non freertos builds
* fixes a bus claim deadlock for non freertos builds
* whole code base has been checked for similar deadlocks

This was inspired by http://reviews.openpilot.org/cru/OPReview-468

Best reviewed ignoring whitespace changes i.e. adding ?w=0