Auto-detect Lua compatible with installed Luabind

I tried to implement auto-detecting of compatible Lua like from https://github.com/Project-OSRM/osrm-backend/issues/1179 using cmake. This PR is mainly for checking on Travis&Appveyor, then maybe it can be included in some form to support problematic multi-Lua systems.