Use one-based indexes in Lua bindings
Merge branch 'gh-347-one-based-indexing'