Patch some serious errors in im2sb and intelmote2 DMA & SPI code

- first bits of LIS3L02Q acceleration values are no longer cut off, allowing sign recovery
- early setting of descriptorless mode for DMA controller (as needed for it to function)
- correction of I2C address of TMP175 on im2 sensor board (is 0x4a as stated in imote2 datasheet)
- using atomic variable access
- making HalPXA27xSSPControlP generic, as multiple SPI interfaces might be using it to access their registers
Patch some serious errors in im2sb and intelmote2 DMA & SPI code

- first bits of LIS3L02Q acceleration values are no longer cut off, allowing sign recovery
- early setting of descriptorless mode for DMA controller (as needed for it to function)
- correction of I2C address of TMP175 on im2 sensor board (is 0x4a as stated in imote2 datasheet)
- using atomic variable access
- making HalPXA27xSSPControlP generic, as multiple SPI interfaces might be using it to access their registers
cleaned up files
More cleanups
cleanup HplPXA27xDMAM.nc
BLIP: Static addressing back to TOS_NODE_ID

This commits brings back the default static addressing scheme of using
the TOS_NODE_ID for the lower 64 bits. It does this by adding a new
module (StaticIPAddressTosIdC) that has the default addressing
behavior.

Now that there are three different addressing mechanisms:

 - StaticIPAddressTosIdC
 - StaticIPAddressC
 - Dhcp6C

it makes sense to have a better mechanism to make sure only one is being
used. To do this, I split out setAddress() into its own interface so that
I can use the @exactlyonce() wiring check with it.

I also removed the `#if IN6_PREFIX` check from IPStackC so there is now
no default addressing scheme. This is the only way to make this scalable
to more than two addressing schemes. Each application will have to wire
to the address assigner it would like to use.
doc: add beginning of MacOSX install instructions
lib/timer: BusyWaitCounter missing explicit cast

bug from wsirko, issue #247

The while loops are missing an explicit cast (please look at the diff).
According to the C lang spec, if for example a variable has type
"size_type" = uint16_t, the type will be promoted to int when any operation
is performed on that variable.

For certain values this will cause those while loops to spin forever.

Force the right behaviour by casting the comparison to (size_type).

Fixes #247
CTP can receive message duplicates. The protocol uses the SentCache to
detect duplicates: when CTP sends a message, it updates the cache
record.

CTP does not update the cache when the message is received at the root
(since the root does not forward/send the message further). This
results in message duplicates at the root.

Added SentCache.insert at the root node, before it signals to the upper layer
receving of a new message. This way, message duplicates are also eliminated at
the last hop, with destination at the root.
increased the driver strangth of portD to supply the flash
Update CoapBlipC.nc

This solved the issue 253 of blip static addressing on coap
workaround for some bugs: issue #216 (first ADC read is always corrupt), some busywait/atomic bug
packaging: update nesc build.sh

This updates the build.sh script in the packaging/nesc folder to nesc
1.3.5 (which now comes from github).
Merge pull request #257 from lab11/packaging-updates

packaging: update nesc build.sh
use channel 26 on all radios
Merge pull request #258 from szte-wsn/rfxxx_def_channel

Use channel 26 on all radios
Replaced timer-based BusyWait with a main clock based one, because timer-based caused infinite loop in long atomic sections
serial stack by @mmaroti Faster and smaller then the current one
Merge pull request #252 from mszczodrak/ctp_root_cache

CTP can receive message duplicates. The protocol uses the SentCache to
Update TestPrintfAppC.nc

Printf does not work properly in Telosb without SerialStartc.