Revert changes. Use separate private methods for adding attributes.

So that methods can be defined dynamically later based on transform
type.
Add new transform types according to updates from Vega.
Add DSL for attributes.

WIP. Needs refactoring for better code reuse.