(PUP-987) Remove support for the @ruby_code block in catalog AST types

This removes the ability to define the logic of node, class and
resource AST by giving it a block of ruby code. This was only used by
the Ruby DSL API.