ceilometer/server: import types, despaghetti resource providers