Clear previous popbox positions when new ones are passed in.
Rename class/classname to type. Added type to data-popbox-tooltip attribute.
Added configuration popbox id via data API.