Popover rework

Added gemfile
Tests run and pass now
Popovers always append to the rootElement

Fixes #1