Remap jar to gradle project 

  - implemented
  - regression test added
Add 'remap jar to gradle' option to project property page
Fix failing test case.