[ALOY-373] Create <Collection> in markup (singleton)
| GitHub Issue | n/a | 
|---|---|
| Type | New Feature | 
| Priority | Medium | 
| Status | Resolved | 
| Resolution | Fixed | 
| Resolution Date | 2012-11-13T17:21:26.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | Alloy 0.3.3, 2012 Sprint 24 | 
| Components | XML | 
| Labels | notable | 
| Reporter | Tony Lukasavage | 
| Assignee | Unknown | 
| Created | 2012-11-08T22:06:41.000+0000 | 
| Updated | 2018-03-07T22:26:13.000+0000 | 
Description
	Allow developers to create a singleton of collections in markup. This will make model-view binding even easier and more expressive. It is also even less code developers will need to achieve model-view binding. 
<!-- to enforce readability, <Collection> MUST be a child of <Alloy> -->
<Alloy>
    <Collection src="myModel"/>
</Alloy>
Alloy.Collections namespace. To access the above, you would do:
var singleton = Alloy.Collections.myModel;
Resolving this issue with