move some scripts from bin to tool

@financeCoding, move some scripts from `bin/` to `tool/`. This fixes an issue, where things in bin are part of our public api, but the script in there depended on `unscripted`, which was a dev_dependency. Moving the scripts was I though a better solution then exported `unscripted` to clients which may not need it.