Add getPlugins function. Fixes issue where where default plugins were being returned.
Merge pull request #9 from timsnadden/getplugins-fix

Add getPlugins function.