pulled out popover code from bootstrap and independently added it to the library. Solves part of #202.