Fixed boost 1.53 issues

changed boost::shared_dynamic_cast to boost::dynamic_pointer_cast and
boost::shared_static_cast to boost::static_pointer_cast
Merge branch 'catkin' of https://github.com/cehberlin/hector_localization into catkin
Merge branch 'catkin' of https://github.com/tu-darmstadt-ros-pkg/hector_localization into fix_pose_estimation_core_folder