Added expansion capability to the API. Query parameter expand=true will expand any references in the object. References are created via normal mongoose methods. Added getExpanded and queryExpanded methods to generated angular resources. Angular resources still need testing