Fix mbed armcc errors

Major features:

- makes the develop version of xively to work on mbed devices
- fixes bugs related to feed queries ( for details please refer to the commit descriptions )
- 0 warning 0 errors compilation on mbed