fixed event queue execute, fixed warnings
added test
fixed warnings
Merge branch 'develop' into msm3

Conflicts:
	include/boost/msm/back/state_machine.hpp
	test/Anonymous.cpp
	test/History.cpp
	test/SimpleWithFunctors.cpp