Add dominator for the DOM library.
use the newest dominator
Move all client resource definitions to server/lib/client-resources.

* Removes duplication from the testing index template.
Get rid of the console.log messages, they are blowing things up once the socket closed.