Added date string replace scheme  to support ${date:format}
Merge changes from 1.3 branch to unify build files and dependancy management