Added patch function to make a Device from a Profile.  Also added support for a ChannelAlloc in a Profile.