If closing compose window in popup, don't ever make that the new dimpbase window if the underlying parent window doesn't exist
Move baseAvailable() to DimpCore

Allows access from message-dimp.js, where it is needed in 2 locations
This isn't needed anymore - remove in H6