Deprecate document.application

require("montage/ui/application").application should be used instead.