Fix `blur` option to close popup on `click` and not `touchstart` event.
Add popup object as first param for callback events #26

Callback functions will accept popup object as first parameter and opening element as second.

Example:

$('#mypopup').popup({
  beforeopen: function(popup, link){
    var img_content = $(link).html();
    $(popup).html(img_content);
  }
});
Add popup jQuery object as `this` for callback events #26
1.7.1