Render with Dom elements

Hi. I added a check for dom element in the render function. Hope it is helpful.

Also did a change to the SingultJS.coffee so that it would check for an instance of singult. Since I use Google Closure in my project I could use those directly, but had problems with the singult instance being overwritten.

--Emil