D pointers for content item interface

This commit provides some cleanups and D pointers
for content item interface based classes. Facebook
classes are not ported yet, so they are not compiled
currently.