Adam/generalized draft import export 2

@dmitchell -- is this the right idea?

https://openedx.atlassian.net/browse/TNL-574
I expect this line to give an AttributeError if the module is not an xmlModule and even if you fix it here (by defining the attr) that it won't export the parent_url as an attr.