extend copy_case to support commtrack models

- also migrates sqlproducts over correctly
- small moving/cleanup of code
Will have to stick SQLLocation in here eventually too.