Implement Dust Debugging
remove unnecessary debug statements and clean up existing ones
log reference lookups with dots
Merge pull request #347 from prashn64/dust-error-logging

Dust error logging
Merge remote branch 'upstream/master' into morepowerfuldustc