core: clone VM from snapshot looses the original template

Fixed by making sure that when cloned (from VM or from snapshot)
that the original template info is copied from the proper source.

Change-Id: I7d3daef32ac03b1783b987e682bca6fb5cb9c07b
Bug-Url: https://bugzilla.redhat.com/1064001
Signed-off-by: Tomas Jelinek <tjelinek@redhat.com>