minor improvements to notifications code
minor improvements to notifications code

* Uses isinstance() instead of type() check
* Uses payload.items() to get both keys and values at once

dreamhost/akanda-ceilometer