Create ActionPlans from a BuildDefinition

This removes actions as a db object and makes them a consequence of reading a BuildDefinition.

Breaks old migrations, and is generally a big bunch of backwards incompatible refactoring.