make plugin dependencies optional

This is to fix issue #130. Making plugin dependencies optional.