Add pre save hook, and basic middleware function.
Add events, fix pre hook.
add updates to eventst
Merge branch 'master' into pipeline
initial draft of pipeline and documentation
Add validators.
Add validators to attributes.
Merge pull request #17 from martindale/pipeline

Middlewares, Pipeline