build-sys: Add checks for Debian-packaged lua.

This adds checks for lua5.2 and lua5.1, and keeps the override
available for cases where a specific lua version is needed.
WIP: fmbt/python related files, commit to keep track of what I've got so far
native_resource: Implement a lot of things

We now run the Murphy main loop in its own thread, so that it
does not block our own stuff. Also we actually create a resource
set and try to acquire a resource.

Currently fails with "E: ignoring malformed resource event", but
this might be because of the initial messages from Murphy. PEBKAC
of course possible, as always
native-resource: Test Python script successfully gets resources
Remove the resource-native using autogenerated stuff
resource-native: Small changes
resource-native: Now use threads instead of "dumb" waiting

Use an event to wait for the results
resource-native: Make the mainloop thread daemonic

We will try to kill it, but it doesn't seem to always properly die
Daemonification will kill it as soon as execution otherwise ends
resource-native: Use basic checks after resource callback is run

Also update the resource set in the userdata after each matching
callback
tests: Remove the SWIG stuff, will not be used (most probably)
resource-native: Move connection startup to its own function
resource-native: Switch from threads to mainloop iteration
resource-native: Add an abstraction for the Murphy connection
tests: Remove an old log from repo
tests: Add some files that I forgot to add to the repo
resource-native: Add Python wrappings around res_set and res
resource-native: Make classes not depend on udata
resource-native: Add a lot of abstractions

Also uses those abstractions now in res_callback_func()
resource-native: Fix 10L with trying to free app classes list
resource-native: Fix and add some functionality