lua-utils: fix in object destructor
Merge branch 'master' of https://github.com/otcshare/policy-internal
lua-utils: userdata of objects is aligned as structure not as char array
mainloop: #include signal.h, since mainloop provides a signal handling interface.
transport: install a handler to catch (and ignore) SIGPIPEs.
common: add missing header to ecore-glue.
build: require a recent enough version of ecore.
resource-c: initial version of external C resource library.
build: changed libresource -> libresource-backend.
build: added external resource API library to build.
resource-c: towards great success.
resource-c: implemented functions.
common: removed unused superloop events.
common: don't register direct pointers with epoll events

At least with unix domain sockets epoll_wait seems to deliver
occasionally pending events for deleted fds. To protect against
this we don't register any more direct pointers to the associated
data structures with epoll. Rather we use an fd-table and either
the fd itself or an index as a key to fetch the associated data
structure from the table. If the event is for a deleted fd, lookup
fails and we ignore the event.
resource-c: cleaning up the code.
build: Generate linker file for resource library.
resource-c: guard the header files, internal cleanups.
resource-c: make the attribute handling smarter.
resource-c: removed printfs.
resource-c: the preemption logic now appears to work.