Update configure-vm to use abspath and join.

Update to configure-vm to use os.path.abspath so that it can
correctly determine the location of the template directory if
called using a non abspath. Also updated to use os.path.join.

Change-Id: Ia9f6da8142d002466632abb8ec5981507a5c283a