fixed some bugs while creating jars for java translation

Fixed a small issue with Java translation of  swap call stmt in Clean_Array_Realiz.rb. Also, I changed the facility module "no main defined" exception to only fire when the user is creating a jar and failed to supply a main or "Main" method.

In addition to the above, I also fixed the file names in the license sections in the templates/*.stg.