create ViewEngine ready for layout support
separate out variable declaration and assignment parsing
Merge branch 'master' into layoutsupport
implement support for layouts through a ViewEngine class

closes #3
update readme to use foreach
remove a parameter refactored out of use