Ignore commented lines when setting root doc #52

Same code I used in public/coffee/pdf/CompiledView.coffee. I didn't test it locally though.