An Integrated License Management and Economic Resource Allocation Model for Cloud Computing