Add support for custom finish handler

Execute a particular script when the build finishes.
Merge pull request #5 from hawkinswnaf/master

Add support for custom finish handler