Fix compiling bug with 32 bit machines

Added 'uname -m' unix command to find out the
system architecture (32 or 64 bit). You need it for
objcopy in the --output command line argument. I
left --binary-architecture to i386 because I did
not find any x86_64 option--and it works.
Fix compiling issues on mac OS X

Added linking flags to remove debug information(-S) for release version on mac.
Removed linking flags that were for linux(-Wl,-O1 -Wl,--discard-all
-Wl,--no-undefined). Added flag to append lua code to
executable(-sectcreate) [Flags were set in SConstruct and
BuildUtil.py]. Also in resouce.cpp I added mapping to hook into the data
section of the executable that pertained to the lua code. Added code to
to get virtual memory address.
Fix compiling issues on mac OS X

Added linking flags to remove debug information(-S) for release version on mac.
Removed linking flags that were for linux(-Wl,-O1 -Wl,--discard-all
-Wl,--no-undefined). Added flag to append lua code to
executable(-sectcreate) [Flags were set in SConstruct and
BuildUtil.py]. Also in resouce.cpp I added mapping to hook into the data
section of the executable that pertained to the lua code. Added code to
to get virtual memory address.
Fix problem when compiling in linux

In python sys.platform outputs linux, linux2, or linux3, which
I did not account for until now. Also, I made the variable
_binary_luascript_luac_size match the same type as the apple
version.
Merge branch 'fix_mac_compile' with github

Conflicts:
	site_scons/BuildUtil.py
	site_scons/site_tools/luac.py
	src/resource.cpp
Merge branch 'fix_mac_compile'
Merge branch 'fix_compile_32bit'

Conflicts:
	site_scons/site_tools/luac.py