unit tests for CacheManager
Set environment in cache manager instance
cleanup
renamed in order to not get picked up by nose
Make the message more descriptive
Force CacheManager to pick up MockStackEnvironment

Change-Id: I4f8a989d50a24731aada3e1a4668520946fe6969
Throw exception instead of blocking forever

Change-Id: Iee7a264b41c8cd23c88c3d77e4abc9a059a43314
Fixes for imports and thread locking

Change-Id: I93f4ceec722af9cc6d4d55a97448622e1835dada
Merge pull request #7 from redhat-imaging/unittests

Unittests