Ignore some build products.
PTFM-7878 dx-build-app syntax check improvements.

Errors in files in the resources/ directory (as opposed to the entry
point file) are now warnings rather than the errors.

The --no-check-syntax flag was added to make even errors in the entry
point file non-fatal.