Check pledges for non-standard scripts. Fixes #7. Will move code into bcj post 0.12 release.