Refactoring: GSM Lua api functions are now static
Initial Socket support (TCP/UDP)
Error reporting to ruuvi.idleloop()
Modifying interrupt priorities
Modified all FAULT and ERROR handlers from CortexM4 to reset the device instead of stopping
Improvements and fixes to GSM driver.

Improved timeout&error handling on GSM driver.
Modified URC lookup to use SLRE library. All wait functions now use SLRE RegExp.
Improved TCP/UDP sockets. Added read function.
Modified example scripts to work on new api
GSM: disable sleep mode. Fixed wrong voltage pin state
GSM: Fixed HTTP timeout and Out of memory errors
GSM: Added new power state CUTOFF
Improved socket handling.

Now uses growing buffer for incoming data.
Handles socket closes.
More verbose debug messages
Fixed socket garbage collections
Merge branch 'socket'
Merge branch 'master' of https://github.com/RuuviTracker/ruuvitracker_fw
Tune GPS debug printing.