A small Lua library to detect devices.