add script public key hash in tests
Add check functions to Address
Miscelaneus updates to docs and bufferreader/writer
Merge pull request #686 from maraoz/add/script-pkhi-tests

add script public key hash in tests
Merge pull request #690 from eordano/feature/miscupdates

Miscelaneus updates to docs and bufferreader/writer
Merge pull request #688 from eordano/feature/addressMethods

Add check functions to Address
Update opcode and script transactions
Merge pull request #689 from eordano/feature/scriptOpcodeUpdate

Feature/script opcode update
Add a preconditions module, and refactor errors

100% code coverage for the preconditions module.

Usage:
```
$.checkState(something === anotherthing, 'Expected something to be
anotherthing');
$.checkArgument(something < 100, 'something', 'must be less than 100');
$.checkArgumentType(something, PrivateKey, 'something'); // The third
argument is a helper to mention the name of the argument
$.checkArgumentType(something, PrivateKey); // but it's optional (will
show up as "(unknown argument)")
```
Merge pull request #695 from eordano/feature/errors

Add a preconditions module, and refactor errors
tweak cyclomatic complexity jshint config
add Script#isPushOnly()