idempotent doc ready handler (turbolinks compat)

this makes dom ready idempotent, making it possible to use pb in turbolinks

a turbolinks user would then need to expose Photobox and do:

    $(document).on('page:restore', window.Photobox.initOverlayDom)