#216 Allow user to control Network, WiFi and Cloud connection (WIP)
Use macro SYSTEM_MODE() before setup() and implemented remaining methods
#216 Updated and Tested code
Updated Network.connecting() method
Refactoring old code by using newly added class methods
Removed deprecated class methods
Bug fixes and refactoring old code almost mostly done(Testing ongoing)
Minor fix
Merge branch 'master' into feature/controlling-the-connection
Allocate expandedKey on stack per recent PR

See https://github.com/spark/core-common-lib/pull/28
Add WiFi.on() and WiFi.off() back in so we don't break existing user code
Return success from WiFi.clearCredentials()
Merge pull request #229 from spark/feature/controlling-the-connection

Feature/controlling the connection