Moved DSL Util methods to their own file.

This rids the dsl.rb file of distractions, making it more appropriate
for end-user docs.