JERSEY-1634: Auto-scannning of WAR not working for default Application class

 - cannot reproduce, added test

Change-Id: Ib50a89e8d6e3f265cf570f541478146406bb01dc
Merge "JERSEY-1634: Auto-scannning of WAR not working for default Application class"