CPT Taxonomy Function

I find myself creating taxonomies for a lot of my custom port types. I went ahead and setup a helper function to make it easier for me to create these taxonomies. A lot more could be done with this, but I find it covers 90% of what I need.