Bug 426407 - New File/Folder commands should create a file/folder immediately and allow user to rename it
- Extended implementation to top level folders
- No longer immediately creating file/folder. Rather creating a place holder dom node and prompting for name of file/folder first. This greatly simplifies the implementation and allows the user to cancel the creation by pressing "ESC".
- Refactored uiutils.js->getUserText() to take an options object and modified callers. Also removed unused promptMessage parameter and added insertAsChild option.

--Signed-off-by: Elijah El-Haddad <elijahe@ca.ibm.com>