Adding nested_attributes DamsLicense class and updating the tests. DHH-174