add docs synopses to lua C wrappers
add support for lua 5.1
update version to v1.0.2