Make view creation statments depend on related alter statements.

This ensures that views that depend on new rows added with an alter statement get created correctly.
Merge pull request #1 from isaacgrant/alters-before-views

Make view creation statments depend on related alter statements.