Converted more to perl

Converted addLineIfNotExistTemp function from PHP to Perl
Converted hypervm-install-master.sh to Perl
Converted make-distribution.pl from SH to Perl