Closes the application and any child windows created by the application.
Example
var application = fin.desktop.Application.getCurrent();
application.close();
Closes the application and any child windows created by the application.
var application = fin.desktop.Application.getCurrent();
application.close();