Added javascript to toggle exhibit related item detail.

Includes theme setting to enable/disable javascript at theme level so that
individual themes can declare whether they have support for toggling item
details in exhibits or not; support means having appropriate CSS styles to
respond to click events on related item summary elements, note hpszen theme does
not provide support as its not intended to be used in exhibits. Commit also
includes minor basic style changes for footer positioning.