tests for script seeding.
add tests to script_test.rb
add unique, not-null constraints to Script.name column
some more refactoring
comment
Merge pull request #578 from code-dot-org/script_seed_tests_refactor

tests for script seeding.