added container:attach() into the Lua API
Update core.c

fixed indent and vars
Merge pull request #353 from ashtoreth/master

added container:attach() into the Lua API