Fix for GLASSFISH-20332: Make sure @PreDestroy annotated method on Application subclass is invoked.

Change-Id: I0da044f17ed735744db1e6aea44349a973e17af7
Signed-off-by: Jakub Podlesak <jakub.podlesak@oracle.com>