Added page types class and updated page type class with real code
Added ptb exception class and started moving code from ptb functions to page type class
Adding code from the fly
Mergin v0.2.0 into v0.2.1
Made most of the ptb functions private
Started testing and fixing errors
Fixing errors after moving functions into classes and so
More work on custom post type support
Check so PTB_PAGES_DIR is defined
Added utility functions and removed some logic i core class for the support for custom post type
More work on custom post type support
Fixed so admin body class works on custom post types
Fixed so collection works with the new ptb page and so
Merge pull request #2 from wp-ptb/v0.2.1

Merged V0.2.1 into master