Refactor compute resources to use nova_utils

Change-Id: I4a03a8062998c8f713ada47d0d86f2ace52cc253
Remove raw_template_get_all from db api

This is not used anywhere in the code base anymore, and does not
seem to be useful in the future.

Change-Id: I5964bc0d402abdb5dde889a4c605fe4d4b4b1376
Merge "Remove raw_template_get_all from db api"
Merge "Refactor compute resources to use nova_utils"