Add prepare and clean targets

  1. prepare target:    Creates the classes and dist directory in build
  2. clean target:      Cleans the output directory
Invoke the child diff resources script
Correct indentation error
Merge branch 'diff-resources' into daemon
Merge branch 'daemon' into installer