move diff/patch code here, significantly change api

BREAKING CHANGE
move to bower.json
0.3.0
fix bug in patch
optimizations in diff code
update documentation
0.3.1