Added code to deal with bad property names and bad alias names
Added getLastError to C plugin

It is now REQUIRED that a C plugin implmements a getCLastError function. See c_plugin_demo.h header and source for example