Added the CustomPostType class and it's first few functions.

Initial functionality includes the constructor and processing of the custom post type slug. No useful functionality exists yet.
Merge origin/master