check if collection is a collection object before checking whether it is empty
check if collection is a collection object before checking whether it is empty

jmerrifield/rendr-handlebars,rendrjs/rendr-handlebars