3.0 behavior bake

Add ability to bake a behavior. Its not a complicated feature so I figured there wasn't a solid reason to keep it out. I'm going to implement helper and component bake soon as well. Both should be as simple as this task.

I'm planning to refactor the code and extract some common behavior for these simple generators.