Declare Alloy before inserting model definition

This way you can use `Alloy.CFG.foo` in the definition.
[ALOY-885] fix version in TiSDK version check output
Merge pull request #279 from appcelerator/ALOY-885

[ALOY-885] fix version in TiSDK version check output
[ALOY-885] use the right version this time
fix widget example
Fixed test failing on Android

As requested in https://jira.appcelerator.org/browse/ALOY-838
Merge pull request #280 from FokkeZB/patch-5

Fixed test failing on Android
[ALOY-890] Replace NavigationGroup with NavigationWindow in all test apps and samples
Merge pull request #281 from appcelerator/ALOY-890

[ALOY-890] Replace NavigationGroup with NavigationWindow in all test apps
[ALOY-890-2] also update the samples
[ALOY-891] get samples working with TiSDK 3.2.0
Merge pull request #282 from appcelerator/ALOY-891

[ALOY-891] get samples working with TiSDK 3.2.0
[ALOY-886] fix broken widget test apps
Merge pull request #283 from appcelerator/ALOY-886

[ALOY-886] fix broken widget test apps
[ALOY-898] fix memory leak in com.appcelerator.loading widget
Merge pull request #284 from appcelerator/ALOY-898

[ALOY-898] fix memory leak in com.appcelerator.loading widget
[ALOY-897] don't attach Alloy hidden properties to arguments, lots of test updates
[ALOY-901] fix error when app/alloy.js is deleted
[ALOY-905] makes Alloy 1.3.0 compatible with TiSDK 3.0.0+ again

Works around TIMOB-14884
Merge pull request #285 from appcelerator/backwards

[ALOY-905] makes Alloy 1.3.0 compatible with TiSDK 3.0.0+ again