Make sure popup windows hide the header/footer.

The filebrowser did pass the 'pop' parameter,
but didn't pass that to the Django-admin templates.
Fix collapse function at upload form.

The `collapse close` value was present in the HTML, but the Django admin
jQuery scripts were not loaded properly, hence the help box was always
visible.