compatibility fixes for attachment data in Wordpress 3.5+ (uses the builtin post UI finally, instead of its own screen)
remove WP-external compatibility stuff from CustomPostType class, this was an unhelpful idea for a library