Updating UIView to support openDocument, getDocuments, getSelectedDocument and some other features found in the extjs3x version
removing a trailing comma and fixing a requires config