restapi: Remove dynamic queries from BackendTemplatesResource

Dynamic search is extremely slow. This patch removes the usage of
dynamic search from the VmTemplates Rest API.

Change-Id: Ib529724ccc7da4456477b2c231e59000d217311b
Signed-off-by: lzelkha@redhat.com <lzelkha@redhat.com>