Improved templates_names method in fuel_agent

This change is to make it possible to find templates for
both underline separated and dash separated profiles.
1) ubuntu_1204_x86_64
2) centos-65_x86_64

Change-Id: I5f730b35be67de83338fa3fc34df315929da49df
Implements: blueprint image-based-provisioning