Merge pull request #1 from LuaDist/master

pull from luadist
Fixed templates
Fixed rocks file
Fixed code for Lua 5.2. No more declaration in global.
Releasing 1.0.2 compatible with Lua 5.2.
Experimenting with automated tests using travis
More travis testing
Trying to fix travis testing
Typo in travis testing
Fixed lub.path method with lua 5.1
Removing luadist email notification in dev branch.
Added build status
Fixed travis testing on mingw32
Do not allow cross-compile failures
Disable cross-compile testing.
Merged in from upstream