Import module log and needed dependencies from oslo-incubator

Change-Id: I3e9dc680dc757896eca8be576b193a0941521b57
Partial-Bug: #1355179