modular javascript api and two example modules

api: $, $.render, self.id, self.data, self.notify, self.listen,
self.silence, self.call, exports
page: index
layout: index
modules: logo, search