Merge pull request #11 from deccico/master

support for customized actions
Code improvements and refractoring. Some comments added. Changed the way the difference between the last two builds is determined.
Small changes in PeriodicReincarnation class and in what is printed in the log when restarting a job.