Deprecation Warnings

I added a method to log a deprecation warning for the calling method. It is intended to be called from deprecated DSL methods so that users see a deprecation warnings in the build log.

It does some magic to analyze the stack trace to find the deprecated method and the code line calling that method.