Added a few tests for redirects.conf

* Committed the CLI testing system that I've been using for a while now
* Quickly wrote a script for automatic testing, using the same server
  configuration

Change-Id: I8215a84ce573ca318c2534bfd1157bc5f6eef749