support {% elif %} clauses. (for Django 1.4-)

I added to support elif clause for 1.4.
Could you review and merge this pull request?