Workaround issue with resource realization order

We need some way to lookup resources by real ID as well as by our ID.
Add security groups to reset
Make collection tasks as unique as usual ones
Add Resource.get_id method, use in in __repr__
Add networks to reset