is_volatile + eventhandlers + falpping bug

fixxed is_volatile bug and flapdetection bug in DB
fixed empty event_handlers in hosts and services table