Use separate table for privatedata attributes

@karlitschek @LukasReschke Backports the privatedata privilege issue to stable5.