time condition .toNinjaBlocks

need to implement fromNinja
Times and days conditions

Did it.
Bug correction for scenario.enable
Merge pull request #38 from uCtrl/update_subdoc

Update subdoc