add shortcode.has()

Hi, thanks for your library. I made use of it in [metalsmith-shortcodes](https://github.com/ericgj/metalsmith-shortcodes).  I've added this simple `has()` method to hide the _shortcodes private variable.