allow creation of vms without a template

using public images to store the list of available guest OS
bugzid 5058: fixed match on resource pool ids
Merge pull request #25 from daniellemayne/2014.08

2014.08: allow creation of vms without a template