Renamed jquery variables to have $prefix, added support of various template options for popover binding