Some fixes to be able to run Main class

As I wrote you in email, there were some issues while running the Main class. I fixed them. 
Here are the items;
- return function earlier when to put a container in StorageCloud
- nullpointerexception fix for DiscoveryState
- The cloudId should be added to availableClouds when adding a cloudId for StorageMetaBroker
- getSamples method return element fix for TraceableResourceAliasing