Groovy Script: Getting a list of device groups based on a deviceID

This groovy script will return a list of DeviceGroups based off a given Asset's serialnumber.