Cleaned up build file

This commit has been revised
Support signing of file trees
Fix distApplet task
Removed parallel signing - not reliable enough
Replace tabs with spaces