make after-upload behavior configurable

now you can pass `afterUpload: function(imgurLink) {})`