Add licenses for tests and test data

- Add license headers to source files (years based on commit dates)
  in `src/test` as well as `qa`
- Add `README.md` to `src/test/data` specifying MIT license

Fixes #3848
Merge pull request #3891 from laanwj/2014_03_tests_license_mit

Add licenses for tests and test data