compatibility with Lua 5.2

Files in luabind/ and src/ are compilable against Lua 5.2.
Examples and tests were not tested.