Need to import `tools` for test code

Specifically, so that test-file.R can exercise has_extension() without
error.
Renamed for consistency with testthat pkg name
Moved per CRAN/devtools recommendation
gitignore update
New test file for file-related assertions