Add createElement for 0.11

This also adds the deprecation notice to createDescriptor. Chances are
that nobody is using that, but doesn't hurt.

cc @sebmarkbage