Loops are now mostly working.
Can now render HTML correctly.
Updated tree and compiler to support nested filters.
Refactored code and added a test to improve code coverage.