Fixing potential pointer error.

c_str memory may have been collected before use.

	modified:   libwm/src/world_model.cpp
Fixing more potentially dangling pointers.

	modified:   ../implementations/mysql_world_model.cpp
	modified:   ../implementations/sqlite3_world_model.cpp
	modified:   ../libwm/src/world_model.cpp