added auto_register option to PostType with 'true' as default