CLOUDSTACK-6736: Added version informatoin, fixed data corruption, regression issues.

Signed-off-by: Jayapal <jayapal@apache.org>