Make compute manager refresh_instance_security_rules() take objects

Change compute manager method and related calls in compute api to take
instance objects.

Related to blueprint icehouse-objects.
Related to blueprint nova-network-objects.

Change-Id: Ic7e1a0b7a8f79dfc53adda6b61f54dd1eff78f80
Remove unused db api method