Fixed boolean values passed as Ansible vars

Ansible returns boolean values as unicode, this breaks powerOn & Template values when passed via Ansible variables file.
Bool values will now be checked and correct type values returned via ast.literal_eval