add licence file and -e switch

apart from README there is no licence mentioned. therefor i added a LICENCE file with Perl Artistic License which is stated in README.

also added an -e switch with which the file extension can be ommited.