Declare Alloy before inserting model definition

This way you can use `Alloy.CFG.foo` in the definition.
formatting fixes
Merge pull request #330 from appcelerator/pr/276

[ALOY-808] Make CFG accessible in models