Added methods to actually call the registered handler for the rewrite permalink.
Added methods to actually call the registered handler for the rewrite permalink.

When adding a handler, adds the 'parse_query' action hook which checks the rewrite object for the given permalink (from the rewrite ID in the query vars) & then attempts to call any configured callback.

cubicmushroom/wordpress-helper