Fix block statement endings in erubis

Partial fix for #518
Merge pull request #520 from presidentbeef/fix_erubis_add_stmt

Fix block statement endings in erubis