Bug 971459 - [System2] Instantiable Applications.

Version 1:
   -- Instantiable applications.js
   -- add JSdocs
   -- fix JShint