add tests for lua_states, tidy up code
change storage of state vars
Merge branch 'master' of github.com:dmccuskey/dmc-lua-library

Conflicts:
	dmc_lua/lua_states.lua