Move license and generation script.

They are now in the internal/ directory.
Add internal testing scripts.
Add tox passthrough support to test script.
Add instructions on using test script to README.
Fix Travis-CI generate command.