NPE in ImageResource.registerImageDescriptor()

Image Registry is not initialized on a first use, so check and the initialization were added

Signed-off-by: vrubezhny <vrubezhny@exadel.com>
Merge pull request #72 from vrubezhny/imageRegistryIsNotInitializedAtFirstUse

NPE in ImageResource.registerImageDescriptor()