Adds extension checking to plugin name resolution.  This closes issue #3.