Refresh aws cloudformation

This the second half from the slitting of PR #333. It is a sub PR of #523.

This PR collects templates and stacks and updates manageiq database. 

It depends on PR #899: add_orchestration_models. New changes are in the second commit as the first commit is for PR #899.
To make this clearer, maybe we can push the pair onto the Array...

```ruby
hashes.each do |h|
  next unless h.key?(:nest_parent)
  stack_ids << [h[:id, h.fetch_path(:nest_parent, :id)]
end
```

When doing the db query, just use .flatten before querying.
Then , below you don't need the `.each_slice(2)`, just do `.each`