Added missing require('fs')
A few small changes to storage. Added tests for it.
Check command count when running_stored().
Tiny fix in storage testes.
Ensure device_key is cleared when calling keys.set_api_key().
Clear device_key after 'config account setup' succeeds, in order to re-link the device.
Fixes to storage closing/clearing.
Fixed error when attempts where maxed in API request module.
CP/interval: Fetch instructions immediately when loading. Use semaphore to prevent two requests from happening at the same time.
Syntax.