Better handle post types including pages

* Now accepts comma-separated list of post_types
* Improve logic for determining template precedence
* Now accepts "any" as an acceptable parameter for the post_type