Support for record variables.

Fixes #105.

In order for records to be recognized, the record fields info needs to
be passed to erlydtl when the template is being compiled.
Fix for bug in pre render function for compile time variables.

Bug was exposed when implementing support for records (#105).

Relates to #61.