Different solution to infinite loops

- Template handler now outputs the context and not its output
- Added `rendered?` flag to prevent infinite loops
Start Rails specs
Finished Rails integration spec