Update TbFileUpload.php

Add callbacks based on work by Szymon Dudziak.
Merge pull request #884 from bobnvic/master

Add callbacks to TbFileUpload