ImportError: cannot import name NoResource

Fix the issue #4 

based on this info https://github.com/buildbot/buildbot/pull/509