Added JS logic to check AtoM DIP destination URL.

refs #1546

Added client-side logic, performed while in the AtoM DIP dialog, to
do a background check to see whether a URL exists before attemption
to submit a DIP for upload to it.