Add missing explicit cfg option import

The test ceilometer.tests.event.test_endpoint.TestEventEndpoint cannot
be run standalone because of missing import.

This change fixes that.

Change-Id: I18083a0793204da5ef9b78573fa4a0483964e158
Fix notification for NotImplemented record_events

With mongodb as storage backend, notification-to-sample will be broken by
NotImplementedError of record_events() method if we have set
"store_events" option as True in ceilometer.conf.

This patch catch the NotImplementedError and enable the
notification-to-sample process.

Change-Id: I7ace5a8581518fa56e58abca2e377b513ff38675
Closes-Bug: #1320420
Merge "Fix notification for NotImplemented record_events"
Merge "Add missing explicit cfg option import"