Optimize resource tracker queries for instances

instance_get_all_by_host_and_node() had 4 different joins being done.
The resource tracker is the only consumer of this method and does not
need the joins.  This optimization will save many unnecessary rows from
being fetched during the update_available_resource() audit task.

(cherry-picked from e8449460334de7632887c8685658a8dfc3d3a5b3)
Change-Id: I414c219e4563634e270007fe3d0fa980b273e795
Merge "Optimize resource tracker queries for instances" into stable/grizzly