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 compute-manager-objects.
Related to blueprint nova-network-objects.

Change-Id: Ic7e1a0b7a8f79dfc53adda6b61f54dd1eff78f80
Remove unused db api method

Remove unused method security_group_rule_get_by_security_group_grantee().

Related to blueprint icehouse-objects.

Change-Id: I968cab433f8158e8b1ee1eecb075396cc2d55a07