Couple of unrelated, but hopefully useful commits...

- Allow extra libraries to cause a GF restart after installation.  This is specifically useful when setting up a custom realm.  The restart can be requested for specific libraries by specifying "requires_restart" in the library configuration hash (defaults to false, so can be omitted):
```
'extra_libraries' => {
    realm' => {
    'type' => 'common', 
    'url' => 'https://s3.amazonaws.com/my_bucket/myrealm.jar',
    'requires_restart' => true
}, . . .
```

- Comment-out what appears to be some sort of prior fix in domain.rb, but that actually borks deployment under Glassfish 4.  This is mainly to start a conversation (and because I had pushed two commits and GitHub apparently doesn't let you cherry pick commits for pull requests ;-)).