Added docpad.getIgnoreOpts method and used it where relevant

Hi.

This PR adds a new helper method to get ignore* config entries. It's available to plugins and DRY the current docpad's helpers.