added getDevicesByParent()

created what should grab a list of devices based off of parents. Its
syntax depends on the final database, and may need to be altered later.