Complete rewrite for "phing release" support