JacksApp overhaul.

Namespace everything in JacksApp to avoid global variables and
functions. Adopt the Backbone.event model for communication with
embedding page. Use constructor for cleaner initialization and adopt
the ready callback from Jacks.