Implmented a TDM-inspired delay to greatly reduce corruption of data.json

TDM (time-division multiplexing) is a method by which some signaling
protocols, such as 2G mobile networks, allow mutliple "channels" to
communicate simultaneously, by being strictly divided from other
channels by the timeslice they are given to communicate.

This change simply tells each script to read-modify-write to data.json
three seconds apart from every other script, based on their position in
the array in static-setup.json. Though there is still a possibility of
scripts having contention, it is way lower. The file locking is still
there to prevent exceptionally long read-modify-write cycles from
breaking the system. By design, the system now takes 117 seconds, the
result of (3 * number_of_devices), for a cycle instead of a fixed 60 s.