Next Generation Internet of Things : Distributed Intelligence at the Edge and Human Machine-To-Machine Cooperation