Add documentation and a sample for the webAppCapable Application option.
(cherry picked from commit 2840276)