Change ko.firebase.observableArray to honor priority and accept a constructor function to build values.