Refactor building url src of extension.  Add to separate buffer-src file

This is done so that we are able to obtain the src of the iframe/popup at any moment
by listening to buffer_get_src.

This was necessary so that we can open a popup triggered by the on click,
so that firefox wont block the popup