Lua plugin: Include Tiled version in Lua export

This may help dealing with unintentional differences or doing
workarounds for possible bugs.

Closes #809