add cast.hpp from osmium
remove debug output from bike profile
move initialization of Lua error callback into scripting environment