fix bug in get_template
add new filter has_children
Merge pull request #2 from Fandekasp/master

add new template filter "has_children"