UI JS Refactoring and Extending

Includes handling of YouTube, Vimeo, & Imgur Albums via IFrame
embedding.

Sizing now uses parent container for max size, supports narrow
containers (mobile/sidebars).

Post expandos are processed also.
Merge pull request #214 from PuttItOut/master

UI JS Refactoring and Extending