fixed UMD preface

Plugin doesn't work when used as a RequireJS module.

Fixed according to UMD https://github.com/umdjs/umd .
Merge pull request #10 from PeterMajer/patch-1

fixed UMD preface
Use built-in "ignoreDependencies" if available. Add test for ko.ignoreDependencies.