Improve add custom post type function

Expand with more options and remove unused options which will default
to the correct setting automatically.