GSM: Backported library from IDE 1.5.x

Fixes #2343
Upped version to 1.0.7. Update revision log.