Add Apache license header
Replace MessageProcessor usage in tests

We just need a simple function for furious asyncs to call in the tests.
Previously we were using MessageProcessor as a place holder for a simple
  function callback, which is misleading.
Now we're using functions like ctime and strftime in its place.