Add additional checks to constructors
Switch back to liblua5.1

 * Too few libraries support Lua 5.2 as of now
 * Code still compatible with 5.2 due to conditional compilation
 * TODO: Add --enable-lua52 flag