make full sign out line clickable
use named layouts
use resource __json__ better and simplify embed

The helper function for getting the assets for the embed code are
now part of the AppFactory resource, since it's related to embedding
the app. The main model properties are moved to the resource so that
the AppController is just behavior and views over this model.
consolidate horus view references
remove jQuery test from the embed code

jQuery is explicitly required by the app bundle, so it gets pulled
in that way. This is safer than trying to use the page's jQuery
anyway.