Installing ESP-IDF 4.0 in platformio

Please see forum posts first, especially Support for ESP IDF v4 - #5 by ivankravets