[WIP]collect aws cloudformation templates and stacks at Amazon refreshing

Avoid _type column unless they are polymorphic foreign key references...it makes the code confusing to both readers and ActiveRecord itself.