Addition of Lua binding to load libraries

The Lua binding now has a feature to load arbitrary libraries by name.
This is necessary if the application is a pure shared library and lua
scripting is used to control it.

Also included:

-A dirty hack to fix segfaults in the moveValue method

-Support for converting int to enums