Add overload to specify callback in Transition.Delay

Addresses #14.

Adds an overload to allow the user to specify a callback function in Transition.Delay, so that the delays for individual sub-transitions may be speicified.
Merge pull request #15 from SimonJF/transition-delay-fn

Add overload to specify callback in Transition.Delay