Implemented pre/post commands and --build=ddox + support "sourceFiles".

Other fixes:
 - fixed class Dub to work with other path than cwd
 - "files" has been deprecated in favor of "sourceFiles"
 - --build=docs also works now
 - Changed the way build flags are parsed (instead of checking every possible field for existence, all fields are iterated and their name is matched)