Refactoring build script on Psake

Simple task for clean project dir:

Using options maxRetries.

More in wiki https://github.com/psake/psake/wiki/How-can-I-set-retry-rules-for-a-task%3F