Added optional LUA callback at the beginning of a render cycle.
Merge pull request #57 from mindsnacks/feature/prerender-callback

[FINAL] Added optional LUA callback at the beginning of a render cycle.