ResourceViewers now have a cleanup() method

This method allows them to perform any specific garbage collection before they are closed.
Added extensive comments to configuratorElement JS library
Renamed cleanup() to cleanUp()
Enforced a minimum width of 1024px for the UI

This resolves issue #94.
Merge pull request #103 from blackhydrogen/boilerplate

Added clean up method to ResourceViewers, and tweaked the UI