Merge branch '172-corestats-don-t-work-with-alternative-coredir' into '2018.2'

Resolve "`corestats` don't work with alternative `coreDir`"

See merge request !27
20 jobs for 2018.2 in 6 minutes and 57 seconds (queued for 3 seconds)