Add real IOT blocks

Add load and energy IOT blocks;
add legacy mode using OLA/OLS pair;
add more command line options for legacy mode, running w/o sensor or LED;
Small reorg of code

Signed-off-by: Luca Coppadoro <lcoppa@rocketmail.com>
Removed draft file

Signed-off-by: Luca Coppadoro <lcoppa@rocketmail.com>