added missing copyright notice to C src
added missing copyright notice to scala src
added missing copyright notice to examples
added missing copyright notice to test files