From http://tommcfarlin.com/page-template-in-wordpress-plugin/